]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/key-signature-interface.cc
removed comment
[lilypond.git] / lily / key-signature-interface.cc
index 37f985697ea85844ec17ed41ea3ad01cb919f9f7..8b45adb2c85fea569f963c5a44ee83a4e3a53ed6 100644 (file)
@@ -109,8 +109,8 @@ Key_signature_interface::print (SCM smob)
   if (scm_is_number (c0s))
     c0p = scm_to_int (c0s);
 
-  /* Is this the correct way to determine this? -rz */
-  bool is_cancellation = me->name()=="KeyCancellation";
+  bool is_cancellation = me->internal_has_interface
+    (ly_symbol2scm ("key-cancellation-interface"));
 
   /*
     SCM lists are stacks, so we work from right to left, ending with