From: fred Date: Sun, 24 Mar 2002 19:45:00 +0000 (+0000) Subject: lilypond-0.0.67 X-Git-Tag: release/1.5.59~4632 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=62e43c31d012365b2e4e13551f38e630e41661e4;p=lilypond.git lilypond-0.0.67 --- diff --git a/lily/p-score.cc b/lily/p-score.cc index 6bec375634..d6c4a63940 100644 --- a/lily/p-score.cc +++ b/lily/p-score.cc @@ -243,8 +243,11 @@ PScore::breakable_col_range(PCol*l,PCol*r)const PCursor start(l ? find_col(l)+1 : cols.top() ); PCursor stop(r ? find_col(r) : cols.bottom()); - - while ( start < stop ) { + + /* + ugh! windows-suck-suck-suck. + */ + while ( PCursor::compare(start,stop) < 0 ) { if (start->breakable_b()) ret.push(start); start++; @@ -260,7 +263,11 @@ PScore::col_range(PCol*l,PCol*r)const PCursor start(l ? find_col(l)+1 : cols.top() ); PCursor stop(r ? find_col(r) : cols.bottom()); ret.push(l); - while ( start < stop ) + + /* + ugh! windows-suck-suck-suck. + */ + while ( PCursor::compare(start,stop) < 0 ) ret.push(start++); ret.push(r); return ret; @@ -274,7 +281,10 @@ PScore::broken_col_range(PCol*l,PCol*r)const PCursor start(l ? find_col(l)+1 : cols.top() ); PCursor stop(r ? find_col(r) : cols.bottom()); - while ( start < stop ) { + /* + ugh! windows-suck-suck-suck. + */ + while ( PCursor::compare(start,stop) < 0 ) { if (start->breakable_b() && !start->line_l_ ) ret.push(start); start++;