]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pitched-trill-engraver.cc
Issue4141/2: Use Xxx:is_smob instead of Xxx:unsmob when used in boolean contexts
[lilypond.git] / lily / pitched-trill-engraver.cc
index 40f1fc9bd23bb575b4e3fb7ccc560cf096f08e9b..68897e2987aaae5cd13b90c08c38265f919762a8 100644 (file)
@@ -88,7 +88,7 @@ Pitched_trill_engraver::acknowledge_trill_spanner (Grob_info info)
   if (ev
       && ev->in_event_class ("trill-span-event")
       && to_dir (ev->get_property ("span-direction")) == START
-      && Pitch::unsmob (ev->get_property ("pitch")))
+      && Pitch::is_smob (ev->get_property ("pitch")))
     make_trill (ev);
 }