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

Modified Files:
        WaveTrack.cpp 
Log Message:
"P2 - Audio generated or pasted when cursor is in white space overwrites 
instead of inserts." fixed. 
Following Gale's suggestion. (Discussion thread - Nabble: 
http://tinyurl.com/nmcafn)

Index: WaveTrack.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/WaveTrack.cpp,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- WaveTrack.cpp       11 Jul 2009 13:28:17 -0000      1.160
+++ WaveTrack.cpp       16 Jul 2009 17:30:56 -0000      1.161
@@ -907,7 +907,7 @@
    
    // Make room for the pasted data, unless the space being pasted in is empty 
of
    // any clips
-   if (!IsEmpty(t0, t0+insertDuration-1.0/mRate) && editClipCanMove) {
+   if (editClipCanMove) {
       if (other->GetNumClips() > 1) {
          // We need to insert multiple clips, so split the current clip and
          // move everything to the right, then try to paste again


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to