Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
4c24882e
Commit
4c24882e
authored
Jan 23, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Accept BI_BITFIELDS format for icons when creating icons.
parent
5b38dac7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cursoricon.c
dlls/user32/cursoricon.c
+2
-1
No files found.
dlls/user32/cursoricon.c
View file @
4c24882e
...
@@ -813,7 +813,8 @@ static HICON create_icon_from_bmi( BITMAPINFO *bmi, HMODULE module, LPCWSTR resn
...
@@ -813,7 +813,8 @@ static HICON create_icon_from_bmi( BITMAPINFO *bmi, HMODULE module, LPCWSTR resn
if
(
(
bmi
->
bmiHeader
.
biSize
!=
sizeof
(
BITMAPCOREHEADER
))
&&
if
(
(
bmi
->
bmiHeader
.
biSize
!=
sizeof
(
BITMAPCOREHEADER
))
&&
(
bmi
->
bmiHeader
.
biSize
!=
sizeof
(
BITMAPINFOHEADER
)
||
(
bmi
->
bmiHeader
.
biSize
!=
sizeof
(
BITMAPINFOHEADER
)
||
bmi
->
bmiHeader
.
biCompression
!=
BI_RGB
)
)
(
bmi
->
bmiHeader
.
biCompression
!=
BI_RGB
&&
bmi
->
bmiHeader
.
biCompression
!=
BI_BITFIELDS
))
)
{
{
WARN_
(
cursor
)(
"
\t
invalid resource bitmap header.
\n
"
);
WARN_
(
cursor
)(
"
\t
invalid resource bitmap header.
\n
"
);
return
0
;
return
0
;
...
...
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