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
507daae4
Commit
507daae4
authored
Jan 07, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Remove unneeded casts.
parent
a2e9b4bb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
gdiplus.c
dlls/gdiplus/gdiplus.c
+1
-2
graphicspath.c
dlls/gdiplus/graphicspath.c
+1
-1
No files found.
dlls/gdiplus/gdiplus.c
View file @
507daae4
...
...
@@ -235,8 +235,7 @@ COLORREF ARGB2COLORREF(ARGB color)
ARGB: aarrggbb
FIXME:doesn't handle alpha channel
*/
return
(
COLORREF
)
((
color
&
0x0000ff
)
<<
16
)
+
return
((
color
&
0x0000ff
)
<<
16
)
+
(
color
&
0x00ff00
)
+
((
color
&
0xff0000
)
>>
16
);
}
...
...
dlls/gdiplus/graphicspath.c
View file @
507daae4
...
...
@@ -570,6 +570,6 @@ GpStatus WINGDIPAPI GdipTransformPath(GpPath *path, GpMatrix *matrix)
if
(
path
->
pathdata
.
Count
==
0
)
return
Ok
;
return
GdipTransformMatrixPoints
(
matrix
,
(
GpPointF
*
)
path
->
pathdata
.
Points
,
return
GdipTransformMatrixPoints
(
matrix
,
path
->
pathdata
.
Points
,
path
->
pathdata
.
Count
);
}
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