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
79b29158
Commit
79b29158
authored
Aug 22, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gcc 4.0 warnings.
parent
dbfac2ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
path.c
dlls/gdi/path.c
+2
-2
sysparams.c
dlls/user/sysparams.c
+1
-1
No files found.
dlls/gdi/path.c
View file @
79b29158
...
@@ -123,7 +123,7 @@ static inline void INTERNAL_LPTODP_FLOAT(DC *dc, FLOAT_POINT *point)
...
@@ -123,7 +123,7 @@ static inline void INTERNAL_LPTODP_FLOAT(DC *dc, FLOAT_POINT *point)
/* Performs a world-to-viewport transformation on the specified width.
/* Performs a world-to-viewport transformation on the specified width.
*/
*/
static
inline
void
INTERNAL_WSTODS
(
DC
*
dc
,
LONG
*
width
)
static
inline
void
INTERNAL_WSTODS
(
DC
*
dc
,
DWORD
*
width
)
{
{
POINT
pt
[
2
];
POINT
pt
[
2
];
pt
[
0
].
x
=
pt
[
0
].
y
=
0
;
pt
[
0
].
x
=
pt
[
0
].
y
=
0
;
...
@@ -1478,7 +1478,7 @@ static BOOL PATH_StrokePath(DC *dc, GdiPath *pPath)
...
@@ -1478,7 +1478,7 @@ static BOOL PATH_StrokePath(DC *dc, GdiPath *pPath)
LOGPEN
lp
;
LOGPEN
lp
;
GetObjectW
(
hOldPen
,
sizeof
(
LOGPEN
),
&
lp
);
GetObjectW
(
hOldPen
,
sizeof
(
LOGPEN
),
&
lp
);
if
(
lp
.
lopnWidth
.
x
>
0
)
if
(
lp
.
lopnWidth
.
x
>
0
)
INTERNAL_WSTODS
(
dc
,
&
lp
.
lopnWidth
.
x
);
INTERNAL_WSTODS
(
dc
,
(
DWORD
*
)
&
lp
.
lopnWidth
.
x
);
hNewPen
=
CreatePenIndirect
(
&
lp
);
hNewPen
=
CreatePenIndirect
(
&
lp
);
}
}
SelectObject
(
dc
->
hSelf
,
hNewPen
);
SelectObject
(
dc
->
hSelf
,
hNewPen
);
...
...
dlls/user/sysparams.c
View file @
79b29158
...
@@ -2262,7 +2262,7 @@ INT WINAPI GetSystemMetrics( INT index )
...
@@ -2262,7 +2262,7 @@ INT WINAPI GetSystemMetrics( INT index )
return
0
;
return
0
;
case
SM_SWAPBUTTON
:
case
SM_SWAPBUTTON
:
get_bool_param
(
SPI_SETMOUSEBUTTONSWAP_IDX
,
SPI_SETMOUSEBUTTONSWAP_REGKEY
,
get_bool_param
(
SPI_SETMOUSEBUTTONSWAP_IDX
,
SPI_SETMOUSEBUTTONSWAP_REGKEY
,
SPI_SETMOUSEBUTTONSWAP_VALNAME
,
&
swap_buttons
,
&
ret
);
SPI_SETMOUSEBUTTONSWAP_VALNAME
,
&
swap_buttons
,
(
BOOL
*
)
&
ret
);
return
ret
;
return
ret
;
case
SM_RESERVED1
:
case
SM_RESERVED1
:
case
SM_RESERVED2
:
case
SM_RESERVED2
:
...
...
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