winspool: Don't try to match a printer to a server handle.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51853 Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
85148f9ee0
commit
4fcd040d90
|
@ -1002,10 +1002,9 @@ static HANDLE get_opened_printer_entry(LPWSTR name, LPPRINTER_DEFAULTSW pDefault
|
|||
if(handle == nb_printer_handles)
|
||||
handle = i;
|
||||
}
|
||||
else
|
||||
else if (!queue && name && printer_handles[i]->name && !wcscmp( name, printer_handles[i]->name ))
|
||||
{
|
||||
if(!queue && (name) && !wcscmp( name, printer_handles[i]->name ))
|
||||
queue = printer_handles[i]->queue;
|
||||
queue = printer_handles[i]->queue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue