Win32 compile fix

This commit is contained in:
Daniel Collin 2013-07-01 10:57:11 +02:00
parent 73027462ec
commit 3f3e15e4e4

View File

@ -512,11 +512,12 @@ int TrackView_getScrolledTrack(TrackViewInfo* viewInfo, TrackData* trackData, in
Group* group = &trackData->groups[i];
int track_count = group->trackCount;
const bool folded = group->folded;
int t_pos;
if (folded)
track_count = 1;
int t_pos = posX;
t_pos = posX;
for (j = 0; j < track_count; ++j)
{