]> git.donarmstrong.com Git - lilypond.git/commitdiff
Compile fix.
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 31 May 2007 11:51:58 +0000 (13:51 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 31 May 2007 11:51:58 +0000 (13:51 +0200)
lily/paper-book.cc

index 641379ab9575555f85e5e485fe325ac1b925dab1..84191b7da8b94bf17f4a67cd488591c4bdbc5e73 100644 (file)
@@ -280,7 +280,7 @@ set_label (SCM sys, SCM label)
        {
          Paper_column *col = dynamic_cast<Paper_column*> (cols[0]);
          col->set_property ("labels", scm_cons (label, col->get_property ("labels")));
-         Paper_column *col_right = col->find_prebroken_piece (RIGHT);
+         Paper_column *col_right = dynamic_cast<Paper_column*> (col->find_prebroken_piece (RIGHT));
          col_right->set_property ("labels", scm_cons (label, col_right->get_property ("labels")));
        }
     }