]> git.donarmstrong.com Git - lilypond.git/commitdiff
(get_configuration): don't crash if left_dot is NULL.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 8 Sep 2005 21:58:29 +0000 (21:58 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 8 Sep 2005 21:58:29 +0000 (21:58 +0000)
lily/tie.cc

index 5efe2d072d5bcfb16a1634bd48efe124deab7823..a4c5aaa929a8dc0aa9f285741cedaf3006b18d24 100644 (file)
@@ -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