]> git.lyx.org Git - features.git/blobdiff - src/lyx_cb.C
Backup file patch from Dekel; Update to scr layout files from Hartmut Goebel
[features.git] / src / lyx_cb.C
index c94abb3c4c4be3d2365324db2e0f08a6b750047d..48ac8b47bb9da79074e077b6120a463f608e5d5c 100644 (file)
@@ -13,6 +13,8 @@
 #include <fstream>
 
 using std::ifstream;
+using std::copy;
+using std::back_inserter;
 
 #include "LString.h"
 #include "support/lstrings.h"
@@ -276,7 +278,7 @@ void SetUpdateTimer(float time)
 void MenuWrite(Buffer * buffer)
 {
        XFlush(fl_display);
-       if (!buffer->save(lyxrc.make_backup)) {
+       if (!buffer->save()) {
                string fname = buffer->fileName();
                string s = MakeAbsPath(fname);
                if (AskQuestion(_("Save failed. Rename and try again?"),