Andrew Talbot : winspool.drv: Fix a logical operator typo.
Alexandre Julliard
julliard at winehq.org
Mon Aug 29 11:28:32 CDT 2011
Module: wine
Branch: master
Commit: f2e922c726bc2586388e46ab1677e2f935c7a653
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f2e922c726bc2586388e46ab1677e2f935c7a653
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Sat Aug 27 17:42:48 2011 +0100
winspool.drv: Fix a logical operator typo.
---
dlls/winspool.drv/info.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index 5201e30..cb74482 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -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);
}
More information about the wine-cvs
mailing list