mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 09:41:41 +00:00
localspl: Ignore an empty output string.
We should probably ignore all incorrect ports. This is a minimal change
that restores 5dadeeb29d
commit.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54379
This commit is contained in:
parent
2bfe9ce883
commit
48d3271f96
|
@ -3697,7 +3697,7 @@ static BOOL WINAPI fpScheduleJob(HANDLE hprinter, DWORD job_id)
|
|||
}
|
||||
|
||||
port = job->port;
|
||||
if (!port)
|
||||
if (!port || !*port)
|
||||
port = printer->info->port;
|
||||
TRACE("need to schedule job %ld filename %s to port %s\n", job->id,
|
||||
debugstr_w(job->filename), debugstr_w(port));
|
||||
|
|
Loading…
Reference in a new issue