Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10797/src

Modified Files:
        WaveTrack.cpp 
Log Message:
Commit Martyn's fix for multiple cuts in a clip.

Index: WaveTrack.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/WaveTrack.cpp,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -d -r1.139 -r1.140
--- WaveTrack.cpp       2 Mar 2009 05:11:47 -0000       1.139
+++ WaveTrack.cpp       3 Mar 2009 03:08:57 -0000       1.140
@@ -540,6 +540,7 @@
 
             // Remember the absolute offset and add to our cuts array.
             cut->SetOffset(cs);
+printf("cut o %f cs %f ce %f\n", cs, t0, t1);
             cuts.Add(cut);
          }
 
@@ -627,7 +628,7 @@
                      cut->SetOffset(cs - st);
                      clip->GetCutLines()->Append(cut);
                      cuts.RemoveAt(i);
-                     break;
+                     i--;
                   }
                }
             }


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to