winspool.drv: Fix a logical operator typo.

This commit is contained in:
Andrew Talbot 2011-08-27 17:42:48 +01:00 committed by Alexandre Julliard
parent dd5a1913ae
commit f2e922c726
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}