Do not invert "magic" bitmap menu items.

This commit is contained in:
Dmitry Timoshkov 2000-11-02 20:08:34 +00:00 committed by Alexandre Julliard
parent 9488b6476f
commit d5e15d3be1

View file

@ -1310,7 +1310,7 @@ static void MENU_DrawMenuItem( HWND hwnd, HMENU hmenu, HWND hwndOwner, HDC hdc,
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 );