From: Vincent van Ravesteijn Date: Thu, 11 Mar 2010 21:11:03 +0000 (+0000) Subject: Fix the InsetBranchParams::read function after that the '\n' was removed from params2... X-Git-Tag: 2.0.0~3822 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bad0d577e8bb35c68b1f2395968a5be4090e2023;p=features.git Fix the InsetBranchParams::read function after that the '\n' was removed from params2string in r33710. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33720 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetBranch.cpp b/src/insets/InsetBranch.cpp index 26619216df..5e943a7ff1 100644 --- a/src/insets/InsetBranch.cpp +++ b/src/insets/InsetBranch.cpp @@ -300,8 +300,7 @@ void InsetBranchParams::write(ostream & os) const void InsetBranchParams::read(Lexer & lex) { - lex.eatLine(); - branch = lex.getDocString(); + lex >> branch; } } // namespace lyx