From 4299f76516963038943a61846dabeeed62026b14 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:41:35 +0000 Subject: [PATCH] lilypond-0.0.55 --- lily/note-column.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lily/note-column.cc b/lily/note-column.cc index 075e61d1ab..9dbc4f93dd 100644 --- a/lily/note-column.cc +++ b/lily/note-column.cc @@ -118,12 +118,13 @@ Note_column::do_pre_processing() top_head_l = bot_head_l; if (!bot_head_l) bot_head_l = top_head_l; - assert(bot_head_l && top_head_l); + //assert(bot_head_l && top_head_l); Item *support_l=top_head_l; int j; for (j = 0; j < 2; j++ ) { for (int i=0; i < placed_l_arr_a[j].size(); i++) { - placed_l_arr_a[j][i]->add_support(support_l); + if (support_l) + placed_l_arr_a[j][i]->add_support(support_l); support_l = placed_l_arr_a[j][i]; } } @@ -131,7 +132,8 @@ Note_column::do_pre_processing() support_l=bot_head_l; for (; j < 4; j++ ) { for (int i=0; i < placed_l_arr_a[j].size(); i++) { - placed_l_arr_a[j][i]->add_support(support_l); + if (support_l) + placed_l_arr_a[j][i]->add_support(support_l); support_l = placed_l_arr_a[j][i]; } } -- 2.39.5