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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
gdiplus.c
dlls/gdiplus/gdiplus.c
+3
-4
graphicspath.c
dlls/gdiplus/graphicspath.c
+1
-1
No files found.
dlls/gdiplus/gdiplus.c
View file @
507daae4
...
...
@@ -235,10 +235,9 @@ COLORREF ARGB2COLORREF(ARGB color)
ARGB: aarrggbb
FIXME:doesn't handle alpha channel
*/
return
(
COLORREF
)
((
color
&
0x0000ff
)
<<
16
)
+
(
color
&
0x00ff00
)
+
((
color
&
0xff0000
)
>>
16
);
return
((
color
&
0x0000ff
)
<<
16
)
+
(
color
&
0x00ff00
)
+
((
color
&
0xff0000
)
>>
16
);
}
/* Like atan2, but puts angle in correct quadrant if dx is 0. */
...
...
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