[Bug 22952] Babaschess, invisible text on black background input text box

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 6 13:50:51 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22952


Dylan Smith <dylan.ah.smith at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28455|0                           |1
        is obsolete|                            |




--- Comment #13 from Dylan Smith <dylan.ah.smith at gmail.com>  2010-06-06 13:50:50 ---
Created an attachment (id=28610)
 --> (http://bugs.winehq.org/attachment.cgi?id=28610)
richedit: Keep default char format on WM_SETFONT in plain text mode.

Babas Chess actually uses plain text mode.

In plain text mode the character format should only be changed by changing the
default character format, because otherwise a call to EM_SETCHARFORMAT using
SCF_DEFAULT will unsuccessfully change the character format which is what
caused the regression bug.

In this case the control was empty, so there was only the end of text run that
could have its format change, which my earlier commit allowed.

This seems to be the right way to fix the bug, so I'll submit this patch to
wine-patches.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list