commit | d5e15d3be1dd227835ea909e9456146b34e72c6e | [log] [tgz] |
---|---|---|
author | Dmitry Timoshkov <dmitry@sloboda.ru> | Thu Nov 02 20:08:34 2000 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Thu Nov 02 20:08:34 2000 +0000 |
tree | f19b6ee4c1fecbfad7228ccb2be2a67b707cb487 | |
parent | 9488b6476f9ba14185508dbb7940adf502d1704e [diff] |
Do not invert "magic" bitmap menu items.
diff --git a/controls/menu.c b/controls/menu.c index 649a4bd..0659c39 100644 --- a/controls/menu.c +++ b/controls/menu.c
@@ -1310,7 +1310,7 @@ BitBlt( hdc, rect.left, top, rect.right - rect.left, rect.bottom - rect.top, hdcMem, 0, 0, - (lpitem->fState & MF_HILITE) ? NOTSRCCOPY : SRCCOPY ); + ((lpitem->fState & MF_HILITE) && !((LOWORD((DWORD)lpitem->text)) < 12)) ? NOTSRCCOPY : SRCCOPY ); } DeleteDC( hdcMem );