USER32: fix EM_SETLIMITTEXT with zeroed args

Alex Villací­s Lasso a_villacis at palosanto.com
Tue Oct 16 15:25:51 CDT 2007


Alexandre Julliard escribió:
> Alex Villacís Lasso <a_villacis at palosanto.com> writes:
>
>   
>> * Implement OS version-dependent behavior for EM_SETTEXTLIMIT
>>     
>
> There's no reason to make this OS-dependent, unless you really have an
> app that checks the version and breaks if the limit is too high.
>
>   
Ok, agreed. The patch for tests should still pass.

Changelog:
* Fix increase of maximum buffer length on EM_SETLIMITTEXT with zeroed 
args (to WinNT limits)
* Fix default maximum buffer length before EM_SETLIMITTEXT

-- 
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-user32-EM_SETLIMITTEXT-fix-limit-try2.patch
Type: text/x-patch
Size: 2217 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071016/5681757a/attachment-0001.bin 


More information about the wine-patches mailing list