mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-22 06:22:58 +02:00
More stl idiom for TrackList and its iterators
This commit is contained in:
@@ -108,7 +108,7 @@ bool SelectCommand::Apply(CommandExecutionContext context)
|
||||
Error(wxT("Trying to select a negatively numbered track!"));
|
||||
return false;
|
||||
}
|
||||
if (lastTrack >= tracks->GetCount())
|
||||
if (lastTrack >= (long)tracks->size())
|
||||
{
|
||||
Error(wxT("Trying to select higher number track than exists!"));
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user