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
1089e165
Commit
1089e165
authored
Apr 14, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Remove unused variables.
parent
8a1d3b33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
printdlg.c
dlls/comdlg32/printdlg.c
+2
-6
No files found.
dlls/comdlg32/printdlg.c
View file @
1089e165
...
...
@@ -1247,7 +1247,6 @@ static LRESULT check_printer_setup(HWND hDlg)
{
DWORD
needed
,
num
;
WCHAR
resourcestr
[
256
],
resultstr
[
256
];
int
res
;
EnumPrintersW
(
PRINTER_ENUM_LOCAL
,
NULL
,
2
,
NULL
,
0
,
&
needed
,
&
num
);
if
(
needed
==
0
)
...
...
@@ -1260,7 +1259,7 @@ static LRESULT check_printer_setup(HWND hDlg)
{
LoadStringW
(
COMDLG32_hInstance
,
PD32_NO_DEVICES
,
resultstr
,
255
);
LoadStringW
(
COMDLG32_hInstance
,
PD32_PRINT_TITLE
,
resourcestr
,
255
);
res
=
MessageBoxW
(
hDlg
,
resultstr
,
resourcestr
,
MB_OK
|
MB_ICONWARNING
);
MessageBoxW
(
hDlg
,
resultstr
,
resourcestr
,
MB_OK
|
MB_ICONWARNING
);
return
FALSE
;
}
}
...
...
@@ -2566,15 +2565,13 @@ _c_str2sizeW(const PAGESETUPDLGW *dlga, LPCWSTR strin) {
*/
static
BOOL
PRINTDLG_PS_UpdateDlgStructA
(
HWND
hDlg
,
PageSetupDataA
*
pda
)
{
DEVNAMES
*
dn
;
DEVMODEA
*
dm
;
DWORD
paperword
;
memcpy
(
pda
->
dlga
,
&
pda
->
curdlg
,
sizeof
(
pda
->
curdlg
));
pda
->
dlga
->
hDevMode
=
pda
->
pdlg
.
hDevMode
;
pda
->
dlga
->
hDevNames
=
pda
->
pdlg
.
hDevNames
;
dn
=
GlobalLock
(
pda
->
pdlg
.
hDevNames
);
dm
=
GlobalLock
(
pda
->
pdlg
.
hDevMode
);
/* Save paper orientation into device context */
...
...
@@ -2599,7 +2596,6 @@ PRINTDLG_PS_UpdateDlgStructA(HWND hDlg, PageSetupDataA *pda) {
else
FIXME
(
"could not get dialog text for papersize cmbbox?
\n
"
);
GlobalUnlock
(
pda
->
pdlg
.
hDevNames
);
GlobalUnlock
(
pda
->
pdlg
.
hDevMode
);
return
TRUE
;
...
...
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