user32: Reduce the cursor height if it also includes the mask.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8e9af9e016
commit
d0e8170c90
|
@ -633,6 +633,7 @@ static BOOL CURSORICON_GetResCursorEntry( LPCVOID dir, DWORD size, int n,
|
||||||
*width = cursor->wWidth;
|
*width = cursor->wWidth;
|
||||||
*height = cursor->wHeight;
|
*height = cursor->wHeight;
|
||||||
*bits = resdir->idEntries[n].wBitCount;
|
*bits = resdir->idEntries[n].wBitCount;
|
||||||
|
if (*height == *width * 2) *height /= 2;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue