]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/key-signature-interface.cc
fret-diagram with barre returns weird output
[lilypond.git] / lily / key-signature-interface.cc
index e345e9d132308b768584cea3daf40919f5439a00..89695f7c5f6d39247ee95e6011bbfae41f908019 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1996--2014 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 *> (Grob::unsmob (smob));
+  Item *me = unsmob<Item> (smob);
 
   Real inter = Staff_symbol_referencer::staff_space (me) / 2.0;