Author: spitz
Date: Fri Oct 14 15:57:48 2011
New Revision: 39853
URL: http://www.lyx.org/trac/changeset/39853
Log:
Fix parsing of branch names with spaces.
Modified:
lyx-devel/branches/BRANCH_2_0_X/src/insets/InsetBranch.cpp
lyx-devel/branches/BRANCH_2_0_X/status.20x
Modified: lyx-devel/branches/BRANCH_2_0_X/src/insets/InsetBranch.cpp
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/src/insets/InsetBranch.cpp Fri Oct 14
14:12:52 2011 (r39852)
+++ lyx-devel/branches/BRANCH_2_0_X/src/insets/InsetBranch.cpp Fri Oct 14
15:57:48 2011 (r39853)
@@ -314,7 +314,8 @@
void InsetBranchParams::read(Lexer & lex)
{
- lex >> branch;
+ lex.eatLine();
+ branch = lex.getDocString();
}
} // namespace lyx
Modified: lyx-devel/branches/BRANCH_2_0_X/status.20x
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/status.20x Fri Oct 14 14:12:52 2011
(r39852)
+++ lyx-devel/branches/BRANCH_2_0_X/status.20x Fri Oct 14 15:57:48 2011
(r39853)
@@ -72,6 +72,8 @@
- Fix execution of biber with MikTeX.
+- Fix parsing of branch names containing spaces.
+
- Fix output of multirow table cell borders (bug 7578).
- Fix ASCII export for branch inset (bug 7720).