Somehow we all missed initializing this to false

Implement progress dialog for printing and PP that show before reflow
Bug 154136 r=dcone/sgehani sr=alecf
This commit is contained in:
rods@netscape.com
2002-07-09 12:48:39 +00:00
parent 8685558a1a
commit 35814cf181
4 changed files with 6 additions and 1 deletions

View File

@@ -142,6 +142,8 @@ nsPrintingPromptService::ShowProgress(nsIDOMWindow* parent,
NS_ENSURE_ARG(printProgressParams);
NS_ENSURE_ARG(notifyOnOpen);
*notifyOnOpen = PR_FALSE;
nsPrintProgress* prtProgress = new nsPrintProgress();
nsresult rv = prtProgress->QueryInterface(NS_GET_IID(nsIPrintProgress), (void**)getter_AddRefs(mPrintProgress));
NS_ENSURE_SUCCESS(rv, rv);