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
8577d7ec
Commit
8577d7ec
authored
Oct 24, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Avoid implicit enum casts.
parent
a6da5134
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
image.c
dlls/gdiplus/image.c
+1
-1
metafile.c
dlls/gdiplus/metafile.c
+1
-1
No files found.
dlls/gdiplus/image.c
View file @
8577d7ec
...
...
@@ -6066,7 +6066,7 @@ GpStatus WINGDIPAPI GdipInitializePalette(ColorPalette *palette,
ColorPalette
*
wic_palette
;
GpStatus
status
=
Ok
;
wic_palette
=
get_palette
(
NULL
,
type
);
wic_palette
=
get_palette
(
NULL
,
(
WICBitmapPaletteType
)
type
);
if
(
!
wic_palette
)
return
OutOfMemory
;
if
(
palette
->
Count
>=
wic_palette
->
Count
)
...
...
dlls/gdiplus/metafile.c
View file @
8577d7ec
...
...
@@ -4531,7 +4531,7 @@ GpStatus WINGDIPAPI GdipRecordMetafileFileName(GDIPCONST WCHAR* fileName,
(
*
metafile
)
->
bounds
.
X
=
(
*
metafile
)
->
bounds
.
Y
=
0
.
0
;
(
*
metafile
)
->
bounds
.
Width
=
(
*
metafile
)
->
bounds
.
Height
=
1
.
0
;
(
*
metafile
)
->
unit
=
UnitPixel
;
(
*
metafile
)
->
metafile_type
=
type
;
(
*
metafile
)
->
metafile_type
=
(
MetafileType
)
type
;
(
*
metafile
)
->
record_dc
=
record_dc
;
(
*
metafile
)
->
comment_data
=
NULL
;
(
*
metafile
)
->
comment_data_size
=
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