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
7bbcc766
Commit
7bbcc766
authored
Oct 04, 2015
by
Alex Henrie
Committed by
Alexandre Julliard
Oct 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Pass num_steps=0 to alloc_icon_handle if is_ani=FALSE.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
parent
9c750bb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cursoricon.c
dlls/user32/cursoricon.c
+3
-3
No files found.
dlls/user32/cursoricon.c
View file @
7bbcc766
...
@@ -939,7 +939,7 @@ done:
...
@@ -939,7 +939,7 @@ done:
HeapFree
(
GetProcessHeap
(),
0
,
bmi_copy
);
HeapFree
(
GetProcessHeap
(),
0
,
bmi_copy
);
if
(
ret
)
if
(
ret
)
hObj
=
alloc_icon_handle
(
FALSE
,
1
);
hObj
=
alloc_icon_handle
(
FALSE
,
0
);
if
(
hObj
)
if
(
hObj
)
{
{
struct
cursoricon_object
*
info
=
get_icon_ptr
(
hObj
);
struct
cursoricon_object
*
info
=
get_icon_ptr
(
hObj
);
...
@@ -1575,7 +1575,7 @@ HICON WINAPI CopyIcon( HICON hIcon )
...
@@ -1575,7 +1575,7 @@ HICON WINAPI CopyIcon( HICON hIcon )
SetLastError
(
ERROR_INVALID_CURSOR_HANDLE
);
SetLastError
(
ERROR_INVALID_CURSOR_HANDLE
);
return
0
;
return
0
;
}
}
if
((
hNew
=
alloc_icon_handle
(
FALSE
,
1
)))
if
((
hNew
=
alloc_icon_handle
(
FALSE
,
0
)))
{
{
struct
cursoricon_frame
*
frameOld
,
*
frameNew
;
struct
cursoricon_frame
*
frameOld
,
*
frameNew
;
...
@@ -2181,7 +2181,7 @@ HICON WINAPI CreateIconIndirect(PICONINFO iconinfo)
...
@@ -2181,7 +2181,7 @@ HICON WINAPI CreateIconIndirect(PICONINFO iconinfo)
DeleteDC
(
hdc
);
DeleteDC
(
hdc
);
hObj
=
alloc_icon_handle
(
FALSE
,
1
);
hObj
=
alloc_icon_handle
(
FALSE
,
0
);
if
(
hObj
)
if
(
hObj
)
{
{
struct
cursoricon_object
*
info
=
get_icon_ptr
(
hObj
);
struct
cursoricon_object
*
info
=
get_icon_ptr
(
hObj
);
...
...
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