]> git.lyx.org Git - lyx.git/commit
Fix bug #9554: When we save a file that was not originally in the current
authorRichard Heck <rgheck@lyx.org>
Tue, 10 Nov 2015 17:39:24 +0000 (12:39 -0500)
committerRichard Heck <rgheck@lyx.org>
Wed, 11 Nov 2015 00:40:06 +0000 (19:40 -0500)
commitcc83dfa887ade5ef059d338cbf353d77db926f40
tree337d5738fed57df691d81c2121199bba4bde6727
parent9894e0be23dafe3ad195d483ed7a0dd44cabf847
Fix bug #9554: When we save a file that was not originally in the current
LyX format, create a backup of the original file. We put it in the backup
directory, if one exists, otherwise in the directory the original file is
in. This is the same strategy as for normal backups. Basically, the only
diferences are: (i) what name we use and (ii) we do not over-write any
backups that may already exist.
src/Buffer.cpp
src/Buffer.h