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
aadf9efb
Commit
aadf9efb
authored
Oct 15, 2003
by
Dave Belanger
Committed by
Alexandre Julliard
Oct 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In CreateDIBitmap, the fact that the bits init flag is set or not
doesn't have anything to do with the color state of the DIB.
parent
f3ed10a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
dib.c
objects/dib.c
+1
-2
No files found.
objects/dib.c
View file @
aadf9efb
...
...
@@ -757,8 +757,7 @@ HBITMAP WINAPI CreateDIBitmap( HDC hdc, const BITMAPINFOHEADER *header,
/* In all other cases, we create a color bitmap. */
if
(
bpp
!=
1
)
fColor
=
TRUE
;
else
if
((
coloruse
!=
DIB_RGB_COLORS
)
||
(
init
!=
CBM_INIT
)
||
!
data
)
fColor
=
FALSE
;
else
if
((
coloruse
!=
DIB_RGB_COLORS
)
||
!
data
)
fColor
=
FALSE
;
else
{
if
(
data
->
bmiHeader
.
biSize
==
sizeof
(
BITMAPINFOHEADER
))
...
...
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