From bad0d577e8bb35c68b1f2395968a5be4090e2023 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Thu, 11 Mar 2010 21:11:03 +0000 Subject: [PATCH] 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 --- src/insets/InsetBranch.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.2