From 6624a5b0db5613c918ba4f4828ba78298b4d898a Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sat, 28 Aug 2010 16:46:54 +0000 Subject: [PATCH] Fix bug #6868: LYXCMD:xxx:inset-insert:graphics does not parse correctly git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35218 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Lexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lexer.cpp b/src/Lexer.cpp index 778a0f2218..d824da0364 100644 --- a/src/Lexer.cpp +++ b/src/Lexer.cpp @@ -473,7 +473,7 @@ bool Lexer::Pimpl::eatLine() is.get(cc); c = cc; //LYXERR(Debug::LYXLEX, "Lexer::EatLine read char: `" << c << '\''); - if (c != '\r') + if (c != '\r' && is) buff.push_back(c); } -- 2.39.5