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
5e3f66c2
Commit
5e3f66c2
authored
Nov 20, 2009
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Nov 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Simplify CC_WMPaint, CC_WMLButtonUp and CC_WMLButtonDown by shedding unused parameters.
parent
1aedfa8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
colordlg.c
dlls/comdlg32/colordlg.c
+6
-6
No files found.
dlls/comdlg32/colordlg.c
View file @
5e3f66c2
...
...
@@ -1081,7 +1081,7 @@ static LRESULT CC_WMCommand( HWND hDlg, WPARAM wParam, LPARAM lParam, WORD notif
/***********************************************************************
* CC_WMPaint [internal]
*/
static
LRESULT
CC_WMPaint
(
HWND
hDlg
,
WPARAM
wParam
,
LPARAM
lParam
)
static
LRESULT
CC_WMPaint
(
HWND
hDlg
)
{
PAINTSTRUCT
ps
;
LPCCPRIV
lpp
=
GetPropW
(
hDlg
,
szColourDialogProp
);
...
...
@@ -1103,7 +1103,7 @@ static LRESULT CC_WMPaint( HWND hDlg, WPARAM wParam, LPARAM lParam )
/***********************************************************************
* CC_WMLButtonUp [internal]
*/
static
LRESULT
CC_WMLButtonUp
(
HWND
hDlg
,
WPARAM
wParam
,
LPARAM
lParam
)
static
LRESULT
CC_WMLButtonUp
(
HWND
hDlg
)
{
LPCCPRIV
lpp
=
GetPropW
(
hDlg
,
szColourDialogProp
);
...
...
@@ -1158,7 +1158,7 @@ static LRESULT CC_WMMouseMove( HWND hDlg, LPARAM lParam )
/***********************************************************************
* CC_WMLButtonDown [internal]
*/
static
LRESULT
CC_WMLButtonDown
(
HWND
hDlg
,
WPARAM
wParam
,
LPARAM
lParam
)
static
LRESULT
CC_WMLButtonDown
(
HWND
hDlg
,
LPARAM
lParam
)
{
LPCCPRIV
lpp
=
GetPropW
(
hDlg
,
szColourDialogProp
);
int
r
,
g
,
b
,
i
;
...
...
@@ -1252,7 +1252,7 @@ static INT_PTR CALLBACK ColorDlgProc( HWND hDlg, UINT message,
return
TRUE
;
break
;
case
WM_PAINT
:
if
(
CC_WMPaint
(
hDlg
,
wParam
,
lParam
))
if
(
CC_WMPaint
(
hDlg
))
return
TRUE
;
break
;
case
WM_LBUTTONDBLCLK
:
...
...
@@ -1264,11 +1264,11 @@ static INT_PTR CALLBACK ColorDlgProc( HWND hDlg, UINT message,
return
TRUE
;
break
;
case
WM_LBUTTONUP
:
/* FIXME: ClipCursor off (if in color graph)*/
if
(
CC_WMLButtonUp
(
hDlg
,
wParam
,
lParam
))
if
(
CC_WMLButtonUp
(
hDlg
))
return
TRUE
;
break
;
case
WM_LBUTTONDOWN
:
/* FIXME: ClipCursor on (if in color graph)*/
if
(
CC_WMLButtonDown
(
hDlg
,
wParam
,
lParam
))
if
(
CC_WMLButtonDown
(
hDlg
,
lParam
))
return
TRUE
;
break
;
}
...
...
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