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
f5dd5a2d
Commit
f5dd5a2d
authored
Mar 31, 2008
by
Vitaly Perov
Committed by
Alexandre Julliard
Apr 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: When PD_USEDEVMODECOPIESANDCOLLATE flag is not set dmCopies must be 1.
parent
0a44a778
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
printdlg.c
dlls/comdlg32/printdlg.c
+3
-0
No files found.
dlls/comdlg32/printdlg.c
View file @
f5dd5a2d
...
@@ -353,11 +353,14 @@ static BOOL PRINTDLG_UpdatePrintDlgA(HWND hDlg,
...
@@ -353,11 +353,14 @@ static BOOL PRINTDLG_UpdatePrintDlgA(HWND hDlg,
if
(
lpdm
->
dmFields
&
DM_COPIES
)
if
(
lpdm
->
dmFields
&
DM_COPIES
)
lpdm
->
u1
.
s1
.
dmCopies
=
GetDlgItemInt
(
hDlg
,
edt3
,
NULL
,
FALSE
);
lpdm
->
u1
.
s1
.
dmCopies
=
GetDlgItemInt
(
hDlg
,
edt3
,
NULL
,
FALSE
);
}
else
{
}
else
{
/* Application is responsible for multiple copies */
if
(
IsDlgButtonChecked
(
hDlg
,
chx2
)
==
BST_CHECKED
)
if
(
IsDlgButtonChecked
(
hDlg
,
chx2
)
==
BST_CHECKED
)
lppd
->
Flags
|=
PD_COLLATE
;
lppd
->
Flags
|=
PD_COLLATE
;
else
else
lppd
->
Flags
&=
~
PD_COLLATE
;
lppd
->
Flags
&=
~
PD_COLLATE
;
lppd
->
nCopies
=
GetDlgItemInt
(
hDlg
,
edt3
,
NULL
,
FALSE
);
lppd
->
nCopies
=
GetDlgItemInt
(
hDlg
,
edt3
,
NULL
,
FALSE
);
/* multiple copies already included in the document. Driver must print only one copy */
lpdm
->
u1
.
s1
.
dmCopies
=
1
;
}
}
/* Print quality, PrintDlg16 */
/* Print quality, PrintDlg16 */
...
...
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