Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ad3a5ed5
Commit
ad3a5ed5
authored
Aug 19, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 19, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure a cursor is always returned if one exists.
parent
a5156dcf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cursoricon.c
dlls/user/cursoricon.c
+2
-2
No files found.
dlls/user/cursoricon.c
View file @
ad3a5ed5
...
@@ -583,8 +583,8 @@ static int CURSORICON_FindBestCursor( LPVOID dir, fnGetCIEntry get_entry,
...
@@ -583,8 +583,8 @@ static int CURSORICON_FindBestCursor( LPVOID dir, fnGetCIEntry get_entry,
maxwidth
=
maxheight
=
255
;
maxwidth
=
maxheight
=
255
;
for
(
i
=
0
;
get_entry
(
dir
,
i
,
&
cx
,
&
cy
,
&
bits
);
i
++
)
for
(
i
=
0
;
get_entry
(
dir
,
i
,
&
cx
,
&
cy
,
&
bits
);
i
++
)
{
{
if
((
cx
<
maxwidth
)
&&
(
cy
<
maxheight
)
&&
if
((
(
cx
<
maxwidth
)
&&
(
cy
<
maxheight
)
&&
(
bits
==
1
))
||
(
b
its
==
1
))
(
b
estEntry
==-
1
))
{
{
bestEntry
=
i
;
bestEntry
=
i
;
maxwidth
=
cx
;
maxwidth
=
cx
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment