Fix statement with no effect. = has a higher precedence than ?:.

This commit is contained in:
Steve Checkoway
2006-10-23 00:15:43 +00:00
parent a8d0c464e2
commit 4805c6889d
+1 -1
View File
@@ -935,7 +935,7 @@ void NoteData::_all_tracks_iterator<ND, iter, TN, bReverse, iterMethodInt, mybeg
if( i != (m_NoteData.*myend)(iTrack) && (bReverse ? (i->first > iMaxRow) : (i->first < iMinRow)) )
{
bReverse ? iMaxRow : iMinRow = i->first;
(bReverse ? iMaxRow : iMinRow) = i->first;
m_iTrack = iTrack;
}
}