commit | 85692c8cbf978bc2eadc46dc91eb73be0e0d566e | [log] [tgz] |
---|---|---|
author | Steve Tibbett <stevet@corel.com> | Sun Aug 15 16:35:21 1999 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Sun Aug 15 16:35:21 1999 +0000 |
tree | 078b4433752838a2ba2ebbf69298826fd3f7cc5d | |
parent | 6374cd231cb78e906e15706189ac6bddcc8f69eb [diff] [blame] |
Fixed cursor selection to find the correct cursor when more than one available.
diff --git a/objects/cursoricon.c b/objects/cursoricon.c index 76debfd..1565733 100644 --- a/objects/cursoricon.c +++ b/objects/cursoricon.c
@@ -310,6 +310,10 @@ } 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;