1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-02 01:44:25 +01:00

Eliminate msClipLen since it leads to length errors in WaveTrack and WaveClip.

This commit is contained in:
martynshaw99
2010-09-12 22:31:58 +00:00
parent 5c48047d0e
commit 1d6e1593ee
3 changed files with 22 additions and 23 deletions

View File

@@ -146,7 +146,7 @@ class AUDACITY_DLL_API AudacityProject: public wxFrame,
void SetSel0(double); //Added by STM
void SetSel1(double); //Added by STM
bool Clipboard() { return msClipLen > 0.0; }
bool Clipboard() { return (msClipT1 - msClipT0) > 0.0; }
wxString GetName();
DirManager *GetDirManager();
@@ -431,7 +431,6 @@ class AUDACITY_DLL_API AudacityProject: public wxFrame,
// Clipboard (static because it is shared by all projects)
static TrackList *msClipboard;
static AudacityProject *msClipProject;
static double msClipLen; // MJS: to be removed in future - too dangerous!
static double msClipT0;
static double msClipT1;