Commit d0e8170c authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Reduce the cursor height if it also includes the mask.

parent 8e9af9e0
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment