fixed list_groups seg. fault

This commit is contained in:
Mario Fink 2019-05-08 10:18:47 +02:00
parent 58132f56f1
commit b4a993c27f

View File

@ -302,7 +302,7 @@ void tdm_ripper::list_groups(std::ostream& gout, int width, int maxshow)
}
gout<<"\n\n";
if ( num_channels_ > maxshow )
if ( num_groups_ > maxshow )
{
for ( int i = num_groups_-maxshow; i < num_channels_; i++ )
{