diff --git a/src/DirManager.cpp b/src/DirManager.cpp index 5278ce916..71922a395 100644 --- a/src/DirManager.cpp +++ b/src/DirManager.cpp @@ -400,7 +400,7 @@ DirManager::DirManager() srand(time(NULL)); // Set up local temp subdir - // Previously, Audacity just na med project temp directories "project0", + // Previously, Audacity just named project temp directories "project0", // "project1" and so on. But with the advent of recovery code, we need a // unique name even after a crash. So we create a random project index // and make sure it is not used already. This will not pose any performance diff --git a/src/WaveTrack.h b/src/WaveTrack.h index e870434aa..7d4e2825c 100644 --- a/src/WaveTrack.h +++ b/src/WaveTrack.h @@ -160,6 +160,10 @@ private: // Make another track copying format, rate, color, etc. but containing no // clips + // It is important to pass the correct DirManager (that for the project + // which will own the copy) in the unusual case that a track is copied from + // another project or the clipboard. For copies within one project, the + // default will do. Holder EmptyCopy( const std::shared_ptr &pDirManager = {} ) const;