From 62e43c31d012365b2e4e13551f38e630e41661e4 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:45:00 +0000 Subject: [PATCH] lilypond-0.0.67 --- lily/p-score.cc | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) 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++; -- 2.39.5