From: Vincent van Ravesteijn Date: Fri, 12 Feb 2010 23:03:43 +0000 (+0000) Subject: Correct r33454. X-Git-Tag: 2.0.0~4043 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5441eb16e5204eb2c1e61129087d61d7a381b123;p=features.git Correct r33454. I like braces.. too much. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33455 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index fb9fbcdb3e..def6597ad8 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -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 << "'!"); }