richedit: Only notify selection change when selection has actually changed from previous notification.

Alex Villací­s Lasso a_villacis at palosanto.com
Mon Apr 28 12:01:29 CDT 2008


The application referenced in bug #709 (Perfect! TextEdit) is one string 
of crashes. At least three distinct crashes are caused by bugs in 
richedit. Tests for this change will come with a following patch.

Changelog:
* Only notify selection change when selection has actually changed from 
previous notification. Otherwise, redundant and early notifications are 
sent to apps that do not expect them. Fixes crash #1 with Perfect! TextEdit.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-richedit-Only-notify-selection-change-when-selectio.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080428/739a5a45/attachment.bin 


More information about the wine-patches mailing list