fixed list_groups seg. fault
This commit is contained in:
parent
58132f56f1
commit
b4a993c27f
@ -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++ )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user