Fix bug #6868: LYXCMD:xxx:inset-insert:graphics does not parse correctly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35235 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2010-08-30 13:59:27 +00:00
parent 130d30cc8d
commit 241e924e2f
2 changed files with 4 additions and 1 deletions

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

View File

@ -117,6 +117,9 @@ What's new
- Load files in correct order when passed as arguments via the command
line (bug 6848).
- Fix parsing of commands sent through the lyxserver, such that they don't
need to be terminated by a newline character (bug 6868).
* DOCUMENTATION AND LOCALIZATION