Quote:
Originally Posted by JSWolf
I tried this patch. It's not working. It's causing my H2O to reboot when I select an ePub eBook.
|
Oops, forgot to move the string to the right register and prevent the destructor from breaking things. Try this:
Code:
Make book header/footer lowercase:
- Enabled: no
- PatchGroup: Header/footer page number text
# In ReadingView::getChapterTitle (header), replace QString::toUpper call with
# QString::trimmed (to copy the string, and not need to add a mov instruction
# and NOP the destructor):
- ReplaceBLX: {Offset: 0xA366EC, Find: 0x440474, Replace: 0x451410}
# In ReadingView::updateFooter, do the same:
- ReplaceBLX: {Offset: 0xA39C36, Find: 0x440474, Replace: 0x451410}
# Page number text
- FindReplaceString: {Find: "%1 OF %2", Replace: "%1 of %2"}