]> git.lyx.org Git - features.git/commitdiff
Fix parsing of branch names with spaces.
authorJürgen Spitzmüller <spitz@lyx.org>
Fri, 14 Oct 2011 13:57:48 +0000 (13:57 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Fri, 14 Oct 2011 13:57:48 +0000 (13:57 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39853 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetBranch.cpp
status.20x

index 01d9cdcefe442a6f7917597f97e413cfc09698ac..f0920956cd3fe4d091188f26129a745d68bb230b 100644 (file)
@@ -314,7 +314,8 @@ void InsetBranchParams::write(ostream & os) const
 
 void InsetBranchParams::read(Lexer & lex)
 {
-       lex >> branch;
+       lex.eatLine();
+       branch = lex.getDocString();
 }
 
 } // namespace lyx
index dd1f573b29a8943e69f833b416d93eed3c2019eb..cbe43054554243ed25c271fb709fa5260c38af36 100644 (file)
@@ -72,6 +72,8 @@ What's new
 
 - 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).