From e6e4f44c810271ca6a31f32da50ab4f1d3e16e3d Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Fri, 5 Oct 2018 22:08:09 -0400 Subject: [PATCH] Bug1997: Split Stereo Track and Split Stereo to Mono were doing nothing --- src/Track.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Track.cpp b/src/Track.cpp index 9aa43eaed..c090e0319 100644 --- a/src/Track.cpp +++ b/src/Track.cpp @@ -736,7 +736,7 @@ void TrackList::GroupChannels( auto after = iter; auto end = this->ListOfTracks::end(); auto count = groupSize; - for ( ; after != end && count--; ++after ) + for ( ; after != end && count; ++after, --count ) ; if ( count == 0 ) { auto unlink = [&] ( Track &tr ) {