]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/gourlay-breaking.cc
(best_splitpoint_index): fix beaming
[lilypond.git] / lily / gourlay-breaking.cc
index 06233738e8889cfecf4933c05bfa1d6d283bf745..8599a6a57c58665047b5a533cd4510d5d25f11fd 100644 (file)
@@ -226,7 +226,7 @@ Gourlay_breaking::combine_demerits (Column_x_positions const &prev,
   Grob *pc = this_one.cols_.back ();
   if (pc->original ())
     {
-      SCM pen = pc->get_property ("penalty");
+      SCM pen = pc->get_property ("line-break-penalty");
       if (scm_is_number (pen) && fabs (scm_to_double (pen)) < 10000)
        break_penalties += scm_to_double (pen);
     }