From 4805c6889d290a3a2ccc92db9e918d35111edb98 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 23 Oct 2006 00:15:43 +0000 Subject: [PATCH] Fix statement with no effect. = has a higher precedence than ?:. --- stepmania/src/NoteData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/NoteData.cpp b/stepmania/src/NoteData.cpp index 7d10fae422..6b45ae60ac 100644 --- a/stepmania/src/NoteData.cpp +++ b/stepmania/src/NoteData.cpp @@ -935,7 +935,7 @@ void NoteData::_all_tracks_iteratorfirst > iMaxRow) : (i->first < iMinRow)) ) { - bReverse ? iMaxRow : iMinRow = i->first; + (bReverse ? iMaxRow : iMinRow) = i->first; m_iTrack = iTrack; } }