mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Return failure if the file ended unexpectedly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33293 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8f09cda025
commit
d49438e76c
@ -964,6 +964,7 @@ Buffer::ReadStatus Buffer::readFile(Lexer & lex, FileName const & filename,
|
||||
bformat(_("%1$s ended unexpectedly, which means"
|
||||
" that it is probably corrupted."),
|
||||
from_utf8(filename.absFilename())));
|
||||
return failure;
|
||||
}
|
||||
|
||||
d->file_fully_loaded = true;
|
||||
|
Loading…
Reference in New Issue
Block a user