Fix parsing of branch names with spaces.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39851 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2011-10-14 12:11:20 +00:00
parent 1db7ad00fe
commit 4b3bea7054

View File

@ -314,7 +314,8 @@ void InsetBranchParams::write(ostream & os) const
void InsetBranchParams::read(Lexer & lex) void InsetBranchParams::read(Lexer & lex)
{ {
lex >> branch; lex.eatLine();
branch = branch = lex.getDocString();
} }
} // namespace lyx } // namespace lyx