]> git.lyx.org Git - lyx.git/blobdiff - src/factory.cpp
fix "make check" with gcc 4.3
[lyx.git] / src / factory.cpp
index 982d56084eeb089a460226ca5a8965848b2736a4..e390b228c81e6f1e2d2a612983b1481dd53e45e7 100644 (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") {