RICHED20: WM_GETTEXTLENGTH should include CRLF conversions in returned count

Alex Villací­s Lasso a_villacis at palosanto.com
Thu Dec 6 12:50:22 CST 2007


This is required to be consistent with fixed behavior of WM_GETTEXT. 
Fixes bug #10577. Requires the previous fix to EM_GETTEXTLENGTHEX to be 
applied first.

Changelog:
* WM_GETTEXTLENGTH must include CR to CRLF conversions in order to be 
consistent with WM_GETTEXT.
* Tests for this behavior.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-riched20-WM_GETTEXTLENGTH-count-crlfs.patch
Type: text/x-patch
Size: 1991 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071206/408aa486/attachment.bin 


More information about the wine-patches mailing list