mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Correct r33454.
I like braces.. too much. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33455 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2a8fb9ae52
commit
5441eb16e5
@ -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 << "'!");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user