]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.55
authorfred <fred>
Sun, 24 Mar 2002 19:41:35 +0000 (19:41 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:41:35 +0000 (19:41 +0000)
lily/note-column.cc

index 075e61d1ab79567738c9330753f0d1c89e28823e..9dbc4f93ddd454294c9929d5bf0e82cc3d60e290 100644 (file)
@@ -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];
        }
     }