mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
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:
parent
130d30cc8d
commit
241e924e2f
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user