allow to read Flex insets with a space in their name

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28736 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2009-03-09 13:48:09 +00:00
parent 5c5e7da7b1
commit fc1fb61336

View File

@ -526,7 +526,7 @@ Inset * readInset(Lexer & lex, Buffer const & buf)
} else if (tmptok == "Box") {
inset.reset(new InsetBox(buf, tmptok));
} else if (tmptok == "Flex") {
lex.next();
lex.eatLine();
string s = lex.getString();
inset.reset(new InsetFlex(buf, s));
} else if (tmptok == "Branch") {