richedit: (4/8) fix for the semantics of the flags for some effects reported by EM_GETCHARFORMAT

Alex Villací­s Lasso a_villacis at palosanto.com
Wed Jun 18 11:06:51 CDT 2008


A workaround was put in place by the previous patch in which CFE_LINK 
effect reporting through a span consisting of both set and unset text 
was not working correctly. This patch verifies that the behavior is 
indeed buggy and fixes it, with a test. Also removes workaround now that 
behavior is fixed.

Changelog:
* Fix for the semantics of the flags for some effects reported by 
EM_GETCHARFORMAT
* Remove workaround put in place by a previous patch, due to buggy flag 
reporting.
* Tests to verify fixed 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: 0005-richedit-fix-for-the-semantics-of-the-flags-for-som.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080618/181181fd/attachment-0001.bin 


More information about the wine-patches mailing list