Minor fix for patch should have been * instead of !*

Bug 131852 r=dcone sr=attinasi a=scc
This commit is contained in:
rods%netscape.com 2006-02-07 01:13:39 +00:00
Родитель e4f3c9dcc2
Коммит 002181ed3c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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