Skip to content
Snippets Groups Projects
Commit 48d3271f authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard
Browse files

localspl: Ignore an empty output string.

We should probably ignore all incorrect ports. This is a minimal change
that restores 5dadeeb2 commit.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54379
parent 2bfe9ce8
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment