View Single Post
Old 10-25-2014, 11:33 PM   #39
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by ectoplasm View Post
Isn't the length supposed to be the same?
It shouldn't matter in this case.

The situations where the length of the replacement string has to remain the same are:
- When patching a QString object (the ones where there is a \x00 after each character)
- When the replacement string doesn't include the end of the string, such as with the individual lines in the custom reading footer patch.
GeoffR is offline   Reply With Quote