read correctly InsetFlex which name contains a space

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28857 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2009-03-18 22:21:25 +00:00
parent dd658e6f84
commit 6dec0f3e0d
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -62,6 +62,9 @@ What's new
* DOCUMENT INPUT/OUTPUT * DOCUMENT INPUT/OUTPUT
- Fix reading of document when a customizable inset name contains a
space.
- Fix LaTeX export of an isolated Japanese character when using - Fix LaTeX export of an isolated Japanese character when using
ISO-2022-JP encoding (bug 5802). ISO-2022-JP encoding (bug 5802).