From 4458993de148483e79a43fa9c9f817c85bc12d2b Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Wed, 20 Mar 2002 20:43:42 +0000 Subject: [PATCH] Minor fix for patch should have been * instead of !* Bug 131852 r=dcone sr=attinasi a=scc --- gfx/src/nsPrintOptionsImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/src/nsPrintOptionsImpl.cpp b/gfx/src/nsPrintOptionsImpl.cpp index 0f6e0a0d9ca4..9de0b0e18bb2 100644 --- a/gfx/src/nsPrintOptionsImpl.cpp +++ b/gfx/src/nsPrintOptionsImpl.cpp @@ -1010,7 +1010,7 @@ NS_IMETHODIMP nsPrintOptions::GetGlobalPrintSettings(nsIPrintSettings * *aGlobal PRUnichar* printerName = nsnull; // Not sure if all platforms will return the proper error code // so for insurance, make sure there is a printer name - if (NS_SUCCEEDED(prtEnum->GetDefaultPrinterName(&printerName)) && printerName && !*printerName) { + if (NS_SUCCEEDED(prtEnum->GetDefaultPrinterName(&printerName)) && printerName && *printerName) { prtEnum->InitPrintSettingsFromPrinter(printerName, mGlobalPrintSettings); nsMemory::Free(printerName); }