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
2b9d337f
Commit
2b9d337f
authored
Nov 20, 2014
by
Ralf Habacker
Committed by
Alexandre Julliard
Nov 20, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Update dmFormName when changing paper size in print UI.
parent
eaa74731
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
printdlg.c
dlls/comdlg32/printdlg.c
+6
-2
No files found.
dlls/comdlg32/printdlg.c
View file @
2b9d337f
...
...
@@ -1798,10 +1798,12 @@ static LRESULT PRINTDLG_WMCommandA(HWND hDlg, WPARAM wParam,
case
cmb2
:
/* Papersize */
{
DWORD
Sel
=
SendDlgItemMessageA
(
hDlg
,
cmb2
,
CB_GETCURSEL
,
0
,
0
);
if
(
Sel
!=
CB_ERR
)
if
(
Sel
!=
CB_ERR
)
{
lpdm
->
u1
.
s1
.
dmPaperSize
=
SendDlgItemMessageA
(
hDlg
,
cmb2
,
CB_GETITEMDATA
,
Sel
,
0
);
GetDlgItemTextA
(
hDlg
,
cmb2
,
(
char
*
)
lpdm
->
dmFormName
,
CCHFORMNAME
);
}
}
break
;
...
...
@@ -1954,10 +1956,12 @@ static LRESULT PRINTDLG_WMCommandW(HWND hDlg, WPARAM wParam,
case
cmb2
:
/* Papersize */
{
DWORD
Sel
=
SendDlgItemMessageW
(
hDlg
,
cmb2
,
CB_GETCURSEL
,
0
,
0
);
if
(
Sel
!=
CB_ERR
)
if
(
Sel
!=
CB_ERR
)
{
lpdm
->
u1
.
s1
.
dmPaperSize
=
SendDlgItemMessageW
(
hDlg
,
cmb2
,
CB_GETITEMDATA
,
Sel
,
0
);
GetDlgItemTextW
(
hDlg
,
cmb2
,
lpdm
->
dmFormName
,
CCHFORMNAME
);
}
}
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