Author: spitz
Date: Fri Oct 14 14:11:20 2011
New Revision: 39851
URL: http://www.lyx.org/trac/changeset/39851
Log:
Fix parsing of branch names with spaces.
Modified:
lyx-devel/trunk/src/insets/InsetBranch.cpp
Modified: lyx-devel/trunk/src/insets/InsetBranch.cpp
==============================================================================
--- lyx-devel/trunk/src/insets/InsetBranch.cpp Fri Oct 14 08:14:20 2011
(r39850)
+++ lyx-devel/trunk/src/insets/InsetBranch.cpp Fri Oct 14 14:11:20 2011
(r39851)
@@ -314,7 +314,8 @@
void InsetBranchParams::read(Lexer & lex)
{
- lex >> branch;
+ lex.eatLine();
+ branch = branch = lex.getDocString();
}
} // namespace lyx