From: fred Date: Sun, 24 Mar 2002 19:41:35 +0000 (+0000) Subject: lilypond-0.0.55 X-Git-Tag: release/1.5.59~4825 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4299f76516963038943a61846dabeeed62026b14;p=lilypond.git lilypond-0.0.55 --- 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]; } }