]> git.lyx.org Git - features.git/commit
Fix spurious error message about nonexisting directory.
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 30 Nov 2006 15:21:23 +0000 (15:21 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 30 Nov 2006 15:21:23 +0000 (15:21 +0000)
commit05a6f9ffbe17c0b2b82db420509d065dab43d636
tree81d1cb947eae63e6ede7d6a2312d9b32f775306e
parent23a58cd5d5f69886feec5500c96c83c969b62433
Fix spurious error message about nonexisting directory.
* src/buffer.C
(Buffer::save): Only try to make a backup if the buffer file already
exists. The try ... catch mechanism is fine, but when it was
introduced ot was overseen that copying a file could not only fail
because the destination dir does not exist, but also because the
source does not exist.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16121 a592a061-630c-0410-9148-cb99ea01b6c8
Status.15x
src/buffer.C