Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv3445
Modified Files:
Track.cpp
Log Message:
added code for the case when NextGroup is called when the current track is not
inside of a group.
Index: Track.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Track.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- Track.cpp 1 Jul 2009 14:10:40 -0000 1.65
+++ Track.cpp 1 Jul 2009 14:53:59 -0000 1.66
@@ -492,6 +492,12 @@
return NULL;
Track* t = cur->t;
+
+ TrackGroupIterator git(l);
+ if (git.First(t) == NULL) {
+ //not part of a group
+ return TrackListIterator::Next(skiplinked);
+ }
//skip the remaining tracks of the current group
for (; t != NULL && t->GetKind() != Track::Label; t =
TrackListIterator::Next(skiplinked) );
------------------------------------------------------------------------------
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs