Skip to content
Snippets Groups Projects
Commit 85692c8c authored by Steve Tibbett's avatar Steve Tibbett Committed by Alexandre Julliard
Browse files

Fixed cursor selection to find the correct cursor when more than one

available.
parent 6374cd23
No related branches found
No related tags found
No related merge requests found
......@@ -310,6 +310,10 @@ static CURSORICONDIRENTRY *CURSORICON_FindBestCursor( CURSORICONDIR *dir,
}
if (dir->idCount == 1) return &dir->idEntries[0]; /* No choice... */
/* Double height to account for AND and XOR masks */
height *= 2;
/* First find the largest one smaller than or equal to the requested size*/
maxwidth = maxheight = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment