lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

musicexp.py: Fix for issue 1985 (issue 5303063)


From: ptrcklschmdt
Subject: musicexp.py: Fix for issue 1985 (issue 5303063)
Date: Sun, 23 Oct 2011 12:14:13 +0000

Reviewers: Reinhold,

Message:
I uploaded a patch for Issue 1985: musicxml2ly: group-symbol none leads
to bus error.

Description:
musicexp.py: Fix for issue 1985
The musicxml value 'none' of the group-symbol element is now converted
to 'SystemStartBar' instead of 'f', the compilation of which lead to a
bus error/seg fault.

Please review this at http://codereview.appspot.com/5303063/

Affected files:
  M python/musicexp.py


Index: python/musicexp.py
diff --git a/python/musicexp.py b/python/musicexp.py
index d105ef333d2bfb8f50f2dba428b4fbb00caf29e0..8610f8aa44f138886c5a1bed5cb4963a3f43a34f 100644
--- a/python/musicexp.py
+++ b/python/musicexp.py
@@ -1793,7 +1793,7 @@ class StaffGroup:
         if self.spanbar == "no":
             printer.dump ("\\override SpanBar #'transparent = ##t")
         brack = {"brace": "SystemStartBrace",
-                 "none": "f",
+                 "none": "SystemStartBar",
                  "line": "SystemStartSquare"}.get (self.symbol, None)
         if brack:
             printer.dump ("systemStartDelimiter = #'%s" % brack)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]