From: Han-Wen Nienhuys Date: Thu, 8 Sep 2005 21:58:29 +0000 (+0000) Subject: (get_configuration): don't crash if left_dot is NULL. X-Git-Tag: release/2.7.10~15 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=abf89fed8e7b93ded629ce3b1c269bef83308dd6;p=lilypond.git (get_configuration): don't crash if left_dot is NULL. --- diff --git a/lily/tie.cc b/lily/tie.cc index 5efe2d072d..a4c5aaa929 100644 --- a/lily/tie.cc +++ b/lily/tie.cc @@ -261,7 +261,7 @@ Tie::get_configuration (Grob *me_grob, Grob *common, Avoid dot */ Grob *left_dot = unsmob_grob (me->get_bound (LEFT)->get_object ("dot")); - int dot_pos = dot_pos + int dot_pos = left_dot ? int (Staff_symbol_referencer::get_position (left_dot)) : 0; if (left_dot