]> git.donarmstrong.com Git - lilypond.git/commitdiff
MusicXML: correctly escape backslash inside a string
authorReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 22 Feb 2010 12:52:05 +0000 (13:52 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 22 Feb 2010 13:09:08 +0000 (14:09 +0100)
python/musicexp.py

index 695f540db362d1b3e6bdef3951ce5d3b001ba9c6..1303af2655145bd3ee7714288d1baeabf1bf7280 100644 (file)
@@ -1036,7 +1036,7 @@ class GlissandoEvent (SpanEvent):
                 "wavy"   : "zigzag"
             }. get (self.line_type, None)
             if style:
-                printer.dump ("\once \override Glissando #'style = #'%s" % style)
+                printer.dump ("\\once \\override Glissando #'style = #'%s" % style)
     def ly_expression (self):
         return {-1: '\\glissando',
             1:''}.get (self.span_direction, '')