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
4b25c6e6
Commit
4b25c6e6
authored
Mar 06, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Mar 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Removed unused parameters from PRINTDLG_WMInitDialogW and PRINTDLG_WMInitDialogA.
parent
984c3b2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
printdlg.c
dlls/comdlg32/printdlg.c
+4
-4
No files found.
dlls/comdlg32/printdlg.c
View file @
4b25c6e6
...
@@ -1504,7 +1504,7 @@ static LRESULT PRINTDLG_WMInitDialogW(HWND hDlg,
...
@@ -1504,7 +1504,7 @@ static LRESULT PRINTDLG_WMInitDialogW(HWND hDlg,
* PRINTDLG_WMCommand [internal]
* PRINTDLG_WMCommand [internal]
*/
*/
static
LRESULT
PRINTDLG_WMCommandA
(
HWND
hDlg
,
WPARAM
wParam
,
static
LRESULT
PRINTDLG_WMCommandA
(
HWND
hDlg
,
WPARAM
wParam
,
LPARAM
lParam
,
PRINT_PTRA
*
PrintStructures
)
PRINT_PTRA
*
PrintStructures
)
{
{
LPPRINTDLGA
lppd
=
PrintStructures
->
lpPrintDlg
;
LPPRINTDLGA
lppd
=
PrintStructures
->
lpPrintDlg
;
UINT
PrinterComboID
=
(
lppd
->
Flags
&
PD_PRINTSETUP
)
?
cmb1
:
cmb4
;
UINT
PrinterComboID
=
(
lppd
->
Flags
&
PD_PRINTSETUP
)
?
cmb1
:
cmb4
;
...
@@ -1658,7 +1658,7 @@ static LRESULT PRINTDLG_WMCommandA(HWND hDlg, WPARAM wParam,
...
@@ -1658,7 +1658,7 @@ static LRESULT PRINTDLG_WMCommandA(HWND hDlg, WPARAM wParam,
}
}
static
LRESULT
PRINTDLG_WMCommandW
(
HWND
hDlg
,
WPARAM
wParam
,
static
LRESULT
PRINTDLG_WMCommandW
(
HWND
hDlg
,
WPARAM
wParam
,
LPARAM
lParam
,
PRINT_PTRW
*
PrintStructures
)
PRINT_PTRW
*
PrintStructures
)
{
{
LPPRINTDLGW
lppd
=
PrintStructures
->
lpPrintDlg
;
LPPRINTDLGW
lppd
=
PrintStructures
->
lpPrintDlg
;
UINT
PrinterComboID
=
(
lppd
->
Flags
&
PD_PRINTSETUP
)
?
cmb1
:
cmb4
;
UINT
PrinterComboID
=
(
lppd
->
Flags
&
PD_PRINTSETUP
)
?
cmb1
:
cmb4
;
...
@@ -1846,7 +1846,7 @@ static INT_PTR CALLBACK PrintDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
...
@@ -1846,7 +1846,7 @@ static INT_PTR CALLBACK PrintDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
switch
(
uMsg
)
{
switch
(
uMsg
)
{
case
WM_COMMAND
:
case
WM_COMMAND
:
return
PRINTDLG_WMCommandA
(
hDlg
,
wParam
,
lParam
,
PrintStructures
);
return
PRINTDLG_WMCommandA
(
hDlg
,
wParam
,
PrintStructures
);
case
WM_DESTROY
:
case
WM_DESTROY
:
DestroyIcon
(
PrintStructures
->
hCollateIcon
);
DestroyIcon
(
PrintStructures
->
hCollateIcon
);
...
@@ -1892,7 +1892,7 @@ static INT_PTR CALLBACK PrintDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam,
...
@@ -1892,7 +1892,7 @@ static INT_PTR CALLBACK PrintDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam,
switch
(
uMsg
)
{
switch
(
uMsg
)
{
case
WM_COMMAND
:
case
WM_COMMAND
:
return
PRINTDLG_WMCommandW
(
hDlg
,
wParam
,
lParam
,
PrintStructures
);
return
PRINTDLG_WMCommandW
(
hDlg
,
wParam
,
PrintStructures
);
case
WM_DESTROY
:
case
WM_DESTROY
:
DestroyIcon
(
PrintStructures
->
hCollateIcon
);
DestroyIcon
(
PrintStructures
->
hCollateIcon
);
...
...
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