1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-17 16:40:07 +02:00

Bug1997: Split Stereo Track and Split Stereo to Mono were doing nothing

This commit is contained in:
Paul Licameli 2018-10-05 22:08:09 -04:00
parent b5a7b67cb7
commit e6e4f44c81

View File

@ -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 ) {