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
4a8cdc2b
Commit
4a8cdc2b
authored
Feb 19, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
Feb 21, 2023
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Fix FILE: output handling in StartDocDlgW.
parent
6d2bd75c
Show 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 @
4a8cdc2b
...
...
@@ -7490,9 +7490,6 @@ static BOOL is_port(const WCHAR *port_list, const WCHAR *output)
{
size_t
len
;
if
(
!
output
)
return
FALSE
;
if
(
wcschr
(
output
,
':'
))
return
TRUE
;
...
...
@@ -7532,7 +7529,7 @@ LPWSTR WINAPI StartDocDlgW( HANDLE hPrinter, DOCINFOW *doc )
/* Check whether default port is 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
);
free
(
pi5
);
if
(
b
)
...
...
Vitaly Lipatov
@lav
mentioned in commit
ac61163d
·
Feb 25, 2024
mentioned in commit
ac61163d
mentioned in commit ac61163dd69d991fea9b037aecd6c116cd22870d
Toggle commit list
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