bug-lilypond
[Top][All Lists]
Advanced

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

piano-pedal-{performer,engraver} bug


From: Michael Welsh Duggan
Subject: piano-pedal-{performer,engraver} bug
Date: Tue, 06 Apr 2004 03:11:16 -0400
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Since SustainEvent and friends are symbols (not strings), we should
be comparing them to symbols instead of strings.

2004-04-06  Michael Welsh Duggan  <address@hidden>

        * lily/piano-pedal-performer.cc (try_music): Compare symbols to
        symbols, not symbols to strings.
        * lily/piano-pedal-engraver.cc (try_music): Compare symbols to
        symbols, not symbols to strings.

Index: lily/piano-pedal-engraver.cc
===================================================================
RCS file: /cvsroot/lilypond/lilypond/lily/piano-pedal-engraver.cc,v
retrieving revision 1.68
diff -u -r1.68 piano-pedal-engraver.cc
--- lily/piano-pedal-engraver.cc        23 Mar 2004 00:21:44 -0000      1.68
+++ lily/piano-pedal-engraver.cc        6 Apr 2004 07:10:46 -0000
@@ -164,7 +164,7 @@
        {
          String nm = p->name_ + String ("Event");
          if (gh_equal_p (m->get_property ("name") ,
-                         gh_symbol2scm (nm.to_str0())))
+                         scm_str2symbol (nm.to_str0())))
            {
              Direction d = to_dir (m->get_property ("span-direction"));
              p->event_drul_[d] = m;
Index: lily/piano-pedal-performer.cc
===================================================================
RCS file: /cvsroot/lilypond/lilypond/lily/piano-pedal-performer.cc,v
retrieving revision 1.23
diff -u -r1.23 piano-pedal-performer.cc
--- lily/piano-pedal-performer.cc       8 Mar 2004 16:17:40 -0000       1.23
+++ lily/piano-pedal-performer.cc       6 Apr 2004 07:10:47 -0000
@@ -131,7 +131,7 @@
        {
          String nm = p->name_ + String ("Event");
          if (gh_equal_p (r->get_property ("name") ,
-                         scm_makfrom0str (nm.to_str0())))
+                         scm_str2symbol (nm.to_str0())))
            {
              Direction d = to_dir (r->get_property ("span-direction"));
              p->req_l_drul_[d] = r;


-- 
Michael Welsh Duggan
(address@hidden)




reply via email to

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