]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/output-lib.scm
Change class field in stream events to contain the complete event type list
[lilypond.git] / scm / output-lib.scm
index bb8f4ddf50d96c80bdece61ebb473d1d36604396..95fefbdb3a856eba58842d315401551f1d6ab77f 100644 (file)
@@ -900,7 +900,7 @@ and duration-log @var{log}."
 ;; dynamics
 
 (define-public (hairpin::calc-grow-direction grob)
-  (if (eq? (ly:event-property (event-cause grob) 'class) 'decrescendo-event)
+  (if (ly:in-event-class? (event-cause grob) 'decrescendo-event)
       START
       STOP))