]> git.lyx.org Git - features.git/commitdiff
Correct r33454.
authorVincent van Ravesteijn <vfr@lyx.org>
Fri, 12 Feb 2010 23:03:43 +0000 (23:03 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Fri, 12 Feb 2010 23:03:43 +0000 (23:03 +0000)
I like braces.. too much.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33455 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp

index fb9fbcdb3e432a3556fd5d93f006eed54bd7adfc..def6597ad88435cee9d9f1ba67a6d745711e9a7c 100644 (file)
@@ -3124,7 +3124,7 @@ void Buffer::moveAutosaveFile(support::FileName const & oldauto) const
        FileName const newauto = getAutosaveFilename();
        oldauto.refresh();
        if (newauto != oldauto && oldauto.exists())
-               if (!oldauto.moveTo(newauto)))
+               if (!oldauto.moveTo(newauto))
                        LYXERR0("Unable to move autosave file `" << oldauto << "'!");
 }