From 28339a828703008b438d571fea67f036eafdb08d Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Tue, 25 Jan 2000 03:21:00 +0000 Subject: [PATCH] do this, otherwise rv will be failure in all cases, even when Prompt succeedes. git-svn-id: svn://10.0.0.236/trunk@58544 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/appshell/src/nsNetSupportDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpfe/appshell/src/nsNetSupportDialog.cpp b/mozilla/xpfe/appshell/src/nsNetSupportDialog.cpp index 29690eca1cb..d0579d69ea1 100644 --- a/mozilla/xpfe/appshell/src/nsNetSupportDialog.cpp +++ b/mozilla/xpfe/appshell/src/nsNetSupportDialog.cpp @@ -156,7 +156,7 @@ NS_IMETHODIMP nsNetSupportDialog::Prompt(const PRUnichar *text, nsresult rv = NS_ERROR_FAILURE; nsCOMPtr< nsIPrompt> dialogService; if( GetNSIPrompt( dialogService ) ) - dialogService->Prompt( text, defaultText, resultText, returnValue ); + rv = dialogService->Prompt( text, defaultText, resultText, returnValue ); return rv; }