http://bugs.winehq.org/show_bug.cgi?id=709
--- Comment #16 from Alex Villacís Lasso a_villacis@palosanto.com 2008-04-28 12:29:58 --- Created an attachment (id=12545) --> (http://bugs.winehq.org/attachment.cgi?id=12545) Fix modify flag setting by EM_SETCHARFORMAT. Fix crash 2 of 3 caused by richedit.
Patch to fix second crash caused by richedit. EM_SETCHARFORMAT with wParam=0 sets default char format and does not set modify flag. EM_SETCHARFORMAT with wParam=SCF_SELECTION only sets modify flag when selection is nonempty.