richedit: fix failing EM_GETCHARFORMAT test on all platforms
Alex Villacís Lasso
a_villacis at palosanto.com
Wed Jun 25 10:51:08 CDT 2008
Default richedit font (System) in Windows causes native richedit to
report CFM_BOLD as always set, regardless of selection, or previous
calls to EM_SETCHARFORMAT. Switch to Courier New in order to see that
richedit really sets the CFM_BOLD attribute in the correct selection.
This fix was successful in removing failure in WinXP-SP2 (real machine)
and in Win98 (QEMU virtual machine). However, could you please test on
other platforms (win2k, win2k3, Vista) to see whether it removes the
failure there too? I want to be extra sure that this test actually
passes on all platforms.
* Fix failing EM_GETCHARFORMAT test on all platforms
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080625/adee90a8/attachment.bin
More information about the wine-patches