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
This commit is contained in:
Enrico Forestieri 2010-08-28 16:46:54 +00:00
parent 8bd1b6c61a
commit 6624a5b0db

View File

@ -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);
}