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

Modified Files:
        Project.cpp 
Log Message:
Fix clearing of clipboard.

Index: Project.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Project.cpp,v
retrieving revision 1.401
retrieving revision 1.402
diff -u -d -r1.401 -r1.402
--- Project.cpp 23 Mar 2009 00:32:54 -0000      1.401
+++ Project.cpp 23 Mar 2009 10:29:11 -0000      1.402
@@ -3249,16 +3249,9 @@
 
 void AudacityProject::ClearClipboard()
 {
-   TrackListIterator iter(msClipboard);
-   Track *n = iter.First();
-   while (n) {
-      delete n;
-      n = iter.Next();
-   }
-
    msClipLen = 0.0;
    msClipProject = NULL;
-   msClipboard->Clear();
+   msClipboard->Clear(true);
 }
 
 void AudacityProject::Clear()


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to