Module: wine Branch: master Commit: d0e8170c90ef63363f8389be2619c9332ae2c371 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d0e8170c90ef63363f8389be26...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jul 24 13:12:50 2017 +0200
user32: Reduce the cursor height if it also includes the mask.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/user32/cursoricon.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c index f408c22..1fbec2a 100644 --- a/dlls/user32/cursoricon.c +++ b/dlls/user32/cursoricon.c @@ -633,6 +633,7 @@ static BOOL CURSORICON_GetResCursorEntry( LPCVOID dir, DWORD size, int n, *width = cursor->wWidth; *height = cursor->wHeight; *bits = resdir->idEntries[n].wBitCount; + if (*height == *width * 2) *height /= 2; return TRUE; }