From 1161f74730ece4e1afcae344da7379bc9e184c78 Mon Sep 17 00:00:00 2001 From: Rune Zedeler Date: Mon, 4 Jun 2007 08:33:19 +0200 Subject: [PATCH] regression + bugfix: auto-tab-string In 2.10+2.11 the TabStaff auto-string-calculator won't use the first string: http://lilypond.org/doc/v2.10/Documentation/user/lilypond/lily-c60b7608c6 The 2nd e is mussing on the tab. This is a regression from 2.8: http://lilypond.org/doc/v2.8/Documentation/user/lilypond/lily-1992430156.png Patch attached --- lily/tab-note-heads-engraver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lily/tab-note-heads-engraver.cc b/lily/tab-note-heads-engraver.cc index 0d56bb44bb..045e3f3b6d 100644 --- a/lily/tab-note-heads-engraver.cc +++ b/lily/tab-note-heads-engraver.cc @@ -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 -- 2.39.5