]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tab-staff-symbol-engraver.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / tab-staff-symbol-engraver.cc
index 32020eee13c877f93ef737f399fc43cd1ea61f3d..3483cb86f795b6fb76002aa22fce643f4a544433 100644 (file)
@@ -3,8 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
-
+  (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "staff-symbol-engraver.hh"
@@ -27,7 +26,7 @@ Tab_staff_symbol_engraver::start_spanner ()
     {
       int k = scm_ilength (get_property ("stringTunings"));
       if (k >= 0)
-       span_->set_property ("line-count", scm_int2num (k));
+       span_->set_property ("line-count", scm_from_int (k));
     }
 }
 
@@ -37,12 +36,11 @@ Tab_staff_symbol_engraver::Tab_staff_symbol_engraver ()
 
 #include "translator.icc"
 
-ADD_ACKNOWLEDGER(Tab_staff_symbol_engraver,grob);
+ADD_ACKNOWLEDGER (Tab_staff_symbol_engraver, grob);
 ADD_TRANSLATOR (Tab_staff_symbol_engraver,
-               /* descr */ "Create a staff-symbol, but look at stringTunings for the number of lines."
+               /* doc */ "Create a staff-symbol, but look at stringTunings for the number of lines."
                "staff lines.",
-               /* creats*/ "StaffSymbol",
-               /* accepts */ "staff-span-event",
-               /* acks  */ "",
-               /* reads */ "stringTunings",
+               /* create */ "StaffSymbol",
+               /* accept */ "staff-span-event",
+               /* read */ "stringTunings",
                /* write */ "");