winspool.drv: Fix a logical operator typo.
This commit is contained in:
parent
dd5a1913ae
commit
f2e922c726
|
@ -503,7 +503,7 @@ static BOOL CUPS_LoadPrinters(void)
|
||||||
haddefault = TRUE;
|
haddefault = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hadprinter & !haddefault) {
|
if (hadprinter && !haddefault) {
|
||||||
MultiByteToWideChar(CP_UNIXCP, 0, dests[0].name, -1, nameW, sizeof(nameW) / sizeof(WCHAR));
|
MultiByteToWideChar(CP_UNIXCP, 0, dests[0].name, -1, nameW, sizeof(nameW) / sizeof(WCHAR));
|
||||||
SetDefaultPrinterW(nameW);
|
SetDefaultPrinterW(nameW);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue