]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/chord-name.cc
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / lily / chord-name.cc
index ad0d91d3dbc9b85140d380b7eb98b2a64e54c1ec..8111c7711756e75fde147d0f14d6404d66a134d5 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1999--2011 Jan Nieuwenhuizen <janneke@gnu.org>
+  Copyright (C) 1999--2015 Jan Nieuwenhuizen <janneke@gnu.org>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -30,22 +30,22 @@ MAKE_SCHEME_CALLBACK (Chord_name, after_line_breaking, 1);
 SCM
 Chord_name::after_line_breaking (SCM smob)
 {
-  Item *me = unsmob_item (smob);
+  Item *me = unsmob<Item> (smob);
   assert (me);
 
   SCM s = me->get_property ("begin-of-line-visible");
   if (to_boolean (s))
     {
       if (me->get_column ()->get_rank ()
-         - me->get_system ()->spanned_rank_interval ()[LEFT] > 1)
-       me->suicide ();
+          - me->get_system ()->spanned_rank_interval ()[LEFT] > 1)
+        me->suicide ();
     }
   return SCM_UNSPECIFIED;
 }
 
 ADD_INTERFACE (Chord_name,
-              "A chord label (name or fretboard).",
+               "A chord label (name or fretboard).",
 
-              /* properties */        
-              "begin-of-line-visible "
-              );
+               /* properties */
+               "begin-of-line-visible "
+              );