richedit: (1/8) fix misreporting of match offset for EM_FINDTEXT and EM_FINDTEXTEX

Alex Villací­s Lasso a_villacis at palosanto.com
Wed Jun 18 10:52:31 CDT 2008


Forward search that spans across more than one run in a single paragraph
could report with an incorrect offset, due to the use of the last examined
run rather than the start-of-search run.

Changelog:
* Fix misreporting of match offset for EM_FINDTEXT and EM_FINDTEXTEX
* Added test that failed until bug was fixed.

-- 
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-richedit-fix-misreporting-of-match-offset-for-EM_FI.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080618/32b6dbf1/attachment-0001.bin 


More information about the wine-patches mailing list