OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_slot.cpp versions 1.122 and 1.123
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_slot.cpp 1.122 -> 1.123

--- as_slot.cpp  2003/02/13 21:12:36     1.122
+++ as_slot.cpp  2003/02/13 21:50:35     1.123
@@ -454,7 +454,8 @@
         }
 
         Filevents.setName(Fname);   // Construct a file to write
-        Filevents.makeBackup();     // Back up to filename.bak
+        if (m_pPrefs->getBool(TITRAQ_PREFBAKON, TITRAQ_DEFBAKON))
+            Filevents.makeBackup(); // Back up to filename.bak
         this->saveData(Filevents);  // Pass to helper method
     }
     catch (Genexcept& Genex) {

CVSTrac 2.0.1