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
cdcdbe9b
Commit
cdcdbe9b
authored
Oct 15, 2007
by
Mikolaj Zalewski
Committed by
Alexandre Julliard
Oct 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: NULL name in PRINTDLG_SetUpPrinterListComboA is correct so don't print a FIXME.
parent
0e2db26f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
printdlg.c
dlls/comdlg32/printdlg.c
+6
-4
No files found.
dlls/comdlg32/printdlg.c
View file @
cdcdbe9b
...
...
@@ -133,8 +133,9 @@ INT PRINTDLG_SetUpPrinterListComboA(HWND hDlg, UINT id, LPCSTR name)
char
buf
[
260
];
DWORD
dwBufLen
=
sizeof
(
buf
);
FIXME
(
"Can't find '%s' in printer list so trying to find default
\n
"
,
name
);
if
(
name
!=
NULL
)
WARN
(
"Can't find %s in printer list so trying to find default
\n
"
,
debugstr_a
(
name
));
if
(
!
GetDefaultPrinterA
(
buf
,
&
dwBufLen
))
return
num
;
i
=
SendDlgItemMessageA
(
hDlg
,
id
,
CB_FINDSTRINGEXACT
,
-
1
,
(
LPARAM
)
buf
);
...
...
@@ -165,8 +166,9 @@ static INT PRINTDLG_SetUpPrinterListComboW(HWND hDlg, UINT id, LPCWSTR name)
(
LPARAM
)
name
))
==
CB_ERR
)
{
WCHAR
buf
[
260
];
DWORD
dwBufLen
=
sizeof
(
buf
)
/
sizeof
(
buf
[
0
]);
TRACE
(
"Can't find '%s' in printer list so trying to find default
\n
"
,
debugstr_w
(
name
));
if
(
name
!=
NULL
)
WARN
(
"Can't find %s in printer list so trying to find default
\n
"
,
debugstr_w
(
name
));
if
(
!
GetDefaultPrinterW
(
buf
,
&
dwBufLen
))
return
num
;
i
=
SendDlgItemMessageW
(
hDlg
,
id
,
CB_FINDSTRINGEXACT
,
-
1
,
(
LPARAM
)
buf
);
...
...
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