From d0e8170c90ef63363f8389be2619c9332ae2c371 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 24 Jul 2017 13:12:50 +0200 Subject: [PATCH] user32: Reduce the cursor height if it also includes the mask. Signed-off-by: Alexandre Julliard --- dlls/user32/cursoricon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c index f408c22909b..1fbec2a5afe 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; }