]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tab-note-heads-engraver.cc
Run `make grand-replace'.
[lilypond.git] / lily / tab-note-heads-engraver.cc
index 0d56bb44bb12b427dcc883cfeecb42141b4180a7..ae012d65131d5d9c1e656dfb54b2379ff7caabfe 100644 (file)
@@ -1,7 +1,7 @@
 /*
   tab-note-heads-engraver.cc -- part of GNU LilyPond
 
-  (c) 2002--2007 Han-Wen Nienhuys, Jean-Baptiste Lamy <jiba@tuxfamily.org>,
+  (c) 2002--2008 Han-Wen Nienhuys, Jean-Baptiste Lamy <jiba@tuxfamily.org>,
 */
 
 #include <cctype>
@@ -99,7 +99,7 @@ Tab_note_heads_engraver::process_music ()
          SCM scm_pitch = event->get_property ("pitch");
          int min_fret = robust_scm2int (get_property ("minimumFret"), 0);
          int start = (high_string_one) ? 1 : string_count;
-         int end = (high_string_one) ? string_count : 1;
+         int end = (high_string_one) ? string_count+1 : 0;
 
          int i = start;
          do
@@ -148,10 +148,12 @@ Tab_note_heads_engraver::stop_translation_timestep ()
 }
 
 ADD_TRANSLATOR (Tab_note_heads_engraver,
-               /* doc */ "Generate one or more tablature noteheads from event of type NoteEvent.",
+               /* doc */
+               "Generate one or more tablature noteheads from event of type"
+               " @code{NoteEvent}.",
+
                /* create */
-               "TabNoteHead "
-               ,
+               "TabNoteHead ",
 
                /* read */
                "middleCPosition "
@@ -161,5 +163,6 @@ ADD_TRANSLATOR (Tab_note_heads_engraver,
                "highStringOne "
                "stringOneTopmost ",
 
-               /* write */ "");
+               /* write */ ""
+               );