bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

regression + bugfix: auto-tab-string


From: Rune Zedeler
Subject: regression + bugfix: auto-tab-string
Date: Mon, 04 Jun 2007 08:33:19 +0200
User-agent: Thunderbird 1.5.0.10 (X11/20070306)

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
diff --git a/lily/tab-note-heads-engraver.cc b/lily/tab-note-heads-engraver.cc
index 0d56bb4..045e3f3 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]