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
ac61163d
Commit
ac61163d
authored
Feb 19, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 19, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Fix FILE: output handling in StartDocDlgW.
(cherry picked from commit
4a8cdc2b
)
parent
8aaf665b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
info.c
dlls/winspool.drv/info.c
+1
-4
No files found.
dlls/winspool.drv/info.c
View file @
ac61163d
...
@@ -7491,9 +7491,6 @@ static BOOL is_port(const WCHAR *port_list, const WCHAR *output)
...
@@ -7491,9 +7491,6 @@ static BOOL is_port(const WCHAR *port_list, const WCHAR *output)
{
{
size_t
len
;
size_t
len
;
if
(
!
output
)
return
FALSE
;
if
(
wcschr
(
output
,
':'
))
if
(
wcschr
(
output
,
':'
))
return
TRUE
;
return
TRUE
;
...
@@ -7533,7 +7530,7 @@ LPWSTR WINAPI StartDocDlgW( HANDLE hPrinter, DOCINFOW *doc )
...
@@ -7533,7 +7530,7 @@ LPWSTR WINAPI StartDocDlgW( HANDLE hPrinter, DOCINFOW *doc )
/* Check whether default port is FILE: */
/* Check whether default port is FILE: */
b
=
!
doc
->
lpszOutput
&&
(
!
pi5
->
pPortName
||
wcscmp
(
pi5
->
pPortName
,
L"FILE:"
));
b
=
!
doc
->
lpszOutput
&&
(
!
pi5
->
pPortName
||
wcscmp
(
pi5
->
pPortName
,
L"FILE:"
));
if
(
!
b
)
if
(
!
b
&&
doc
->
lpszOutput
&&
wcscmp
(
doc
->
lpszOutput
,
L"FILE:"
)
)
b
=
is_port
(
pi5
->
pPortName
,
doc
->
lpszOutput
);
b
=
is_port
(
pi5
->
pPortName
,
doc
->
lpszOutput
);
free
(
pi5
);
free
(
pi5
);
if
(
b
)
if
(
b
)
...
...
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