]> git.lyx.org Git - features.git/commitdiff
Fix the InsetBranchParams::read function after that the '\n' was removed from params2...
authorVincent van Ravesteijn <vfr@lyx.org>
Thu, 11 Mar 2010 21:11:03 +0000 (21:11 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Thu, 11 Mar 2010 21:11:03 +0000 (21:11 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33720 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetBranch.cpp

index 26619216df364822665ea9354c3dcf446a5e2455..5e943a7ff1298e18d6d8b71c2b90ef7095a6b5df 100644 (file)
@@ -300,8 +300,7 @@ void InsetBranchParams::write(ostream & os) const
 
 void InsetBranchParams::read(Lexer & lex)
 {
-       lex.eatLine();
-       branch = lex.getDocString();
+       lex >> branch;
 }
 
 } // namespace lyx