[Bug 51899] 16-bit Collins Dictionary has black background.

WineHQ Bugzilla wine-bugs at winehq.org
Sat Oct 23 01:08:44 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51899

--- Comment #7 from O. Nykyforchyn <oleh.nyk at gmail.com> ---
I found out what causes the bug. When background is erased, a handle to DC is
passed through USER16 functions, namely CallWindowProc16 (USER.122) and
DefDriverProc16 (USER.255), whose respective parameters are of type WPARAM16,
hence the upper part of the handle is cut. Later the returned handle is
rejected by get_dc_attr() in GDI32 because its type is 0, although such handles
are accepted by handle_entry(). Allowing type==0 in get_dc_attr() solves the
problem both in WinEdt and Collins Dictionary. If there are no objections, I
will submit the patch.

-- 
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