Fixup line endings.
authordpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Thu, 11 Jun 2009 13:31:15 +0000 (13:31 +0000)
committerdpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Thu, 11 Jun 2009 13:31:15 +0000 (13:31 +0000)
git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@7919 a7884b65-44f6-0310-8a51-81a127f17b15

pgadmin/frm/frmBackupGlobals.cpp
pgadmin/frm/frmBackupServer.cpp

index d7ca2871282bf0f22d38f9294372c0b68a1cd49e..abc3a5eb06bf3c06c34b4957079bc4f1021802a0 100644 (file)
@@ -197,9 +197,9 @@ void frmBackupGlobals::OnOK(wxCommandEvent &ev)
         }
         else if (wxFile::Exists(txtFilename->GetValue()))
         {
-            wxString msg;\r
-            msg.Printf(_("The file: \n\n%s\n\nalready exists. Do you want to overwrite it?"), txtFilename->GetValue().c_str());\r
-            if (wxMessageBox(msg, _("Overwrite file?"), wxICON_WARNING | wxYES_NO) == wxNO)\r
+            wxString msg;
+            msg.Printf(_("The file: \n\n%s\n\nalready exists. Do you want to overwrite it?"), txtFilename->GetValue().c_str());
+            if (wxMessageBox(msg, _("Overwrite file?"), wxICON_WARNING | wxYES_NO) == wxNO)
                 return;
         }
 
@@ -240,3 +240,4 @@ bool backupGlobalsFactory::CheckEnable(pgObject *obj)
     else
         return obj->CanBackupGlobals() && !pgBackupExecutable.IsEmpty() && pgAppMinimumVersion(pgBackupExecutable, 8, 3);
 }
+
index 72899e1429bf319315b8ecfed10679133e2bb772..d018fc2b1dab57c4b7eee5c490bbfe90b221865c 100644 (file)
@@ -180,9 +180,9 @@ void frmBackupServer::OnOK(wxCommandEvent &ev)
         }
         else if (wxFile::Exists(txtFilename->GetValue()))
         {
-            wxString msg;\r
-            msg.Printf(_("The file: \n\n%s\n\nalready exists. Do you want to overwrite it?"), txtFilename->GetValue().c_str());\r
-            if (wxMessageBox(msg, _("Overwrite file?"), wxICON_WARNING | wxYES_NO) == wxNO)\r
+            wxString msg;
+            msg.Printf(_("The file: \n\n%s\n\nalready exists. Do you want to overwrite it?"), txtFilename->GetValue().c_str());
+            if (wxMessageBox(msg, _("Overwrite file?"), wxICON_WARNING | wxYES_NO) == wxNO)
                 return;
         }
 
@@ -222,3 +222,4 @@ bool backupServerFactory::CheckEnable(pgObject *obj)
     else
         return !pgBackupExecutable.IsEmpty() && pgAppMinimumVersion(pgBackupExecutable, 8, 3);
 }
+