]> git.donarmstrong.com Git - lilypond.git/commitdiff
don't read deprecated 'style for accidentals.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 29 Jan 2007 23:59:16 +0000 (00:59 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 29 Jan 2007 23:59:16 +0000 (00:59 +0100)
lily/accidental.cc

index 3bfd1b816d1e91f15f7257979381efde7df3c53d..571c33cbea497e5c8db3cf9eaa305c5b154dc952 100644 (file)
@@ -69,9 +69,7 @@ Accidental_interface::accurate_boxes (Grob *me, Grob **common)
   if (!me->is_live ())
     return boxes;
 
-  SCM scm_style = me->get_property ("style");
-  if (!scm_is_symbol (scm_style)
-      && !to_boolean (me->get_property ("restore-first"))
+  if (!to_boolean (me->get_property ("restore-first"))
       && !parens)
     {
       Rational alteration