Commit f2e922c7 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

winspool.drv: Fix a logical operator typo.

parent dd5a1913
......@@ -503,7 +503,7 @@ static BOOL CUPS_LoadPrinters(void)
haddefault = TRUE;
}
}
if (hadprinter & !haddefault) {
if (hadprinter && !haddefault) {
MultiByteToWideChar(CP_UNIXCP, 0, dests[0].name, -1, nameW, sizeof(nameW) / sizeof(WCHAR));
SetDefaultPrinterW(nameW);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment