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
This commit is contained in:
sspitzer%netscape.com
2000-01-25 03:21:00 +00:00
parent 910669a549
commit 28339a8287

View File

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