]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
Implement os::current_root for native Win32 builds.
[lyx.git] / src / buffer.C
index 610a56a78c31966d50500f7a84852f6a4a70fc0f..daf0f402832c33b76315bced7793c384e5b537c7 100644 (file)
@@ -681,7 +681,7 @@ bool Buffer::save() const
                s = fileName() + '~';
                if (!lyxrc.backupdir_path.empty())
                        s = AddName(lyxrc.backupdir_path,
-                                   subst(os::slashify_path(s),'/','!'));
+                                   subst(os::internal_path(s),'/','!'));
 
                // Rename is the wrong way of making a backup,
                // this is the correct way.