mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
More informative name for backups of files from older versions.
This commit is contained in:
parent
23f6c1c962
commit
82c3a44337
@ -1321,7 +1321,7 @@ FileName Buffer::getBackupName() const {
|
|||||||
fn.onlyPath().absFileName() :
|
fn.onlyPath().absFileName() :
|
||||||
lyxrc.backupdir_path;
|
lyxrc.backupdir_path;
|
||||||
string const fform = convert<string>(d->file_format);
|
string const fform = convert<string>(d->file_format);
|
||||||
string const backname = fname + "-" + fform;
|
string const backname = fname + "-lyxformat-" + fform;
|
||||||
FileName backup(addName(fpath, addExtension(backname, fext)));
|
FileName backup(addName(fpath, addExtension(backname, fext)));
|
||||||
|
|
||||||
// limit recursion, just in case
|
// limit recursion, just in case
|
||||||
|
Loading…
Reference in New Issue
Block a user