mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
Real fix from Bernhard Roider
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16857 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c68f3da771
commit
27a777ccc6
@ -271,13 +271,13 @@ void InsetInclude::read(Buffer const &, LyXLex & lex)
|
||||
void InsetInclude::read(LyXLex & lex)
|
||||
{
|
||||
if (lex.isOK()) {
|
||||
lex.next();
|
||||
lex.eatLine();
|
||||
string const command = lex.getString();
|
||||
params_.scanCommand(command);
|
||||
}
|
||||
string token;
|
||||
while (lex.isOK()) {
|
||||
lex.eatLine();
|
||||
lex.next();
|
||||
token = lex.getString();
|
||||
if (token == "\\end_inset")
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user