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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user