X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fp-col.cc;h=66701e384082625933be0898ea084dbaee6d1ecd;hb=04f01c7e890bd4f1b358378e5911fb7c117c3802;hp=e1c286da70cb3e83ae0a094084684952a2b32c6a;hpb=e85b008ae96fef8fc0c15529e8a172584d5d08fd;p=lilypond.git diff --git a/lily/p-col.cc b/lily/p-col.cc index e1c286da70..66701e3840 100644 --- a/lily/p-col.cc +++ b/lily/p-col.cc @@ -1,14 +1,14 @@ /* p-col.cc -- implement PCol - source file of the LilyPond music typesetter + source file of the GNU LilyPond music typesetter (c) 1997 Han-Wen Nienhuys */ #include "p-col.hh" #include "p-score.hh" -#include "p-staff.hh" + #include "debug.hh" Interval @@ -24,7 +24,7 @@ PCol::width() const } int -PCol::rank() const +PCol::rank_i() const { assert(rank_i_ != -1); return rank_i_; @@ -66,7 +66,7 @@ PCol::print() const int PCol::compare(PCol const &c1, PCol const &c2) { - return c1.rank() - c2.rank(); + return c1.rank_i() - c2.rank_i(); } void @@ -101,6 +101,7 @@ PCol::breakable_b() const PCol::PCol(PCol *parent) { + error_mark_b_ = false; daddy_l_ = parent; prebreak_p_=0; postbreak_p_=0;