]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/key-signature-interface.cc
Fretboards: markup strings in dot positions
[lilypond.git] / lily / key-signature-interface.cc
index fb691c00d806b60948cb187f44ad166ce4e7c80a..9720b680f5e4b756715e066d79c1ff7f6aa52e51 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1996--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1996--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   keyplacement by Mats Bengtsson
 
@@ -42,7 +42,7 @@ MAKE_SCHEME_CALLBACK (Key_signature_interface, print, 1);
 SCM
 Key_signature_interface::print (SCM smob)
 {
-  Item *me = dynamic_cast<Item *> (unsmob_grob (smob));
+  Item *me = Item::unsmob (smob);
 
   Real inter = Staff_symbol_referencer::staff_space (me) / 2.0;