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
568a8b84
Commit
568a8b84
authored
Jan 08, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdlgtst: Remove superfluous casts.
parent
6f490031
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
cmdlgtst.c
programs/cmdlgtst/cmdlgtst.c
+9
-9
No files found.
programs/cmdlgtst/cmdlgtst.c
View file @
568a8b84
...
...
@@ -288,7 +288,7 @@ static void paintMainWindow(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lPar
/* Commence painting! */
BeginPaint
(
hWnd
,
&
ps
);
GetClientRect
(
hWnd
,
(
LPRECT
)
&
rect
);
GetClientRect
(
hWnd
,
&
rect
);
pen
=
SelectObject
(
ps
.
hdc
,
CreatePen
(
0
,
0
,
fgColor
));
brush
=
SelectObject
(
ps
.
hdc
,
CreateSolidBrush
(
bgColor
));
...
...
@@ -367,8 +367,8 @@ static void mw_ColorSetup(HWND hWnd)
if
(
ChooseColor
(
&
cc
))
{
RECT
rect
;
GetClientRect
(
hWnd
,
(
LPRECT
)
&
rect
);
InvalidateRect
(
hWnd
,
(
LPRECT
)
&
rect
,
FALSE
);
GetClientRect
(
hWnd
,
&
rect
);
InvalidateRect
(
hWnd
,
&
rect
,
FALSE
);
bgColor
=
cc
.
rgbResult
;
}
else
mw_checkError
(
hWnd
,
FALSE
);
...
...
@@ -378,8 +378,8 @@ static void mw_FontSetup(HWND hWnd)
{
if
(
ChooseFont
(
&
cf
))
{
RECT
rect
;
GetClientRect
(
hWnd
,
(
LPRECT
)
&
rect
);
InvalidateRect
(
hWnd
,
(
LPRECT
)
&
rect
,
FALSE
);
GetClientRect
(
hWnd
,
&
rect
);
InvalidateRect
(
hWnd
,
&
rect
,
FALSE
);
txtColor
=
cf
.
rgbColors
;
}
else
mw_checkError
(
hWnd
,
FALSE
);
...
...
@@ -405,8 +405,8 @@ static void mw_OpenSetup(HWND hWnd)
{
if
(
GetOpenFileName
(
&
ofn
))
{
RECT
rect
;
GetClientRect
(
hWnd
,
(
LPRECT
)
&
rect
);
InvalidateRect
(
hWnd
,
(
LPRECT
)
&
rect
,
FALSE
);
GetClientRect
(
hWnd
,
&
rect
);
InvalidateRect
(
hWnd
,
&
rect
,
FALSE
);
}
else
mw_checkError
(
hWnd
,
FALSE
);
}
...
...
@@ -415,8 +415,8 @@ static void mw_SaveSetup(HWND hWnd)
{
if
(
GetSaveFileName
(
&
ofn
))
{
RECT
rect
;
GetClientRect
(
hWnd
,
(
LPRECT
)
&
rect
);
InvalidateRect
(
hWnd
,
(
LPRECT
)
&
rect
,
FALSE
);
GetClientRect
(
hWnd
,
&
rect
);
InvalidateRect
(
hWnd
,
&
rect
,
FALSE
);
}
else
mw_checkError
(
hWnd
,
FALSE
);
}
...
...
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