Fix for the AIX build which claims 'Operand of "&" operator must be an lvalue.'

git-svn-id: svn://10.0.0.236/trunk@45866 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org
1999-09-03 09:04:31 +00:00
parent 3398e56bb4
commit 784ae9f568
2 changed files with 6 additions and 2 deletions

View File

@@ -1023,8 +1023,10 @@ nsEditorShell::CheckAndSaveDocument(PRBool *_retval)
if (modCount > 0)
{
// Ask user if they want to save current changes
nsString tmp1 = GetString("Save");
nsString tmp2 = GetString("DontSave");
EConfirmResult result = ConfirmWithCancel(GetString("SaveDocument"), GetString("SaveFilePrompt"),
&GetString("Save"), &GetString("DontSave"));
&tmp1, &tmp2);
if (result == eCancel)
{
*_retval = PR_FALSE;