]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4170: tie-formatting: s/Stem::note_head_positions/Stem::head_positions/
authorDavid Kastrup <dak@gnu.org>
Sun, 19 Oct 2014 11:21:44 +0000 (13:21 +0200)
committerDavid Kastrup <dak@gnu.org>
Mon, 3 Nov 2014 08:52:33 +0000 (09:52 +0100)
Looking at the return value here rather strongly suggests that the wrong
function is being called.

lily/tie-formatting-problem.cc

index 8a016bde21e1d12d6bbe05f4ecce4d34a48630e9..59fe413769b407945076802aa7b8530bf7d40f28 100644 (file)
@@ -151,7 +151,7 @@ Tie_formatting_problem::set_column_chord_outline (vector<Item *> bounds,
                 stem_end_position = stem->extent (stem, Y_AXIS)[get_grob_direction (stem)];
               else
                 // May want to change this to the stem's pure height...
-                stem_end_position = Stem::note_head_positions (stem)[get_grob_direction (stem)]
+                stem_end_position = Stem::head_positions (stem)[get_grob_direction (stem)]
                                     * staff_space * .5;
             }