More new -> NEW, delete -> DELETE in comments

This commit is contained in:
Paul Licameli 2017-02-20 21:44:54 -05:00
parent ec0297ec28
commit 38236a807c
7 changed files with 9 additions and 9 deletions

View File

@ -171,7 +171,7 @@ static int RecursivelyEnumerate(wxString dirPath,
if(dir.IsOpened()){
wxString name;
// Don't delete files from a selective top level, e.g. if handed "projects*" as the
// Don't DELETE files from a selective top level, e.g. if handed "projects*" as the
// directory specifier.
if (bFiles && dirspec.IsEmpty() ){
cont= dir.GetFirst(&name, filespec, wxDIR_FILES | wxDIR_HIDDEN | wxDIR_NO_FOLLOW);
@ -426,7 +426,7 @@ DirManager::~DirManager()
// static
// This is quite a dangerous function. In the temp dir it will delete every directory
// This is quite a dangerous function. In the temp dir it will DELETE every directory
// recursively, that has 'project*' as the name - EVEN if it happens not to be an Audacity
// project but just something else called project.
void DirManager::CleanTempDir()

View File

@ -759,7 +759,7 @@ void GetNextWindowPlacement(wxRect *nextRect, bool *pMaximized, bool *pIconized)
}
// ELSE a subsequent new window. It will NOT straddle screens.
// ELSE a subsequent NEW window. It will NOT straddle screens.
// We don't mind being 32 pixels off the screen in any direction.
// Make sure initial sizes (pretty much) fit within the display bounds

View File

@ -128,8 +128,8 @@ void UndoManager::CalculateSpaceUsage()
// contains it.
// Why the last and not the first? Because the user of the History dialog
// may delete undo states, oldest first. To reclaim disk space you must
// delete all states containing the block file. So the block file's
// may DELETE undo states, oldest first. To reclaim disk space you must
// DELETE all states containing the block file. So the block file's
// contribution to space usage should be counted only in that latest state.
for (size_t nn = stack.size(); nn--;)

View File

@ -29,7 +29,7 @@ void ComputeLegacySummaryInfo(const wxFileName &fileName,
// Audacity BlockFile formats (versions 0.98 through 1.0, or
// versions 1.1.0 through 1.1.2). You can load a BlockFile
// in this format, and you can save information about it
// back to disk, but you can't create a NEW one from new
// back to disk, but you can't create a NEW one from NEW
// sample data.
//
class LegacyBlockFile final : public BlockFile {

View File

@ -654,7 +654,7 @@ void AUControl::CarbonViewResized()
// Set the dialog size
w->SetSize(size);
// And finally set the new max/min
// And finally set the NEW max/min
w->SetSizeHints(size, size);
mLastMin = wxSize(rect.size.width, rect.size.height);

View File

@ -1068,7 +1068,7 @@ void ProgressDialog::Init()
#endif
}
// Add a new text column each time this is called.
// Add a NEW text column each time this is called.
void ProgressDialog::AddMessageAsColumn(wxBoxSizer * pSizer, const wxString & sText, bool bFirstColumn) {
// Assuming that we don't want empty columns, bail out if there is no text.

View File

@ -78,7 +78,7 @@ public:
ProgressResult Update(int current, int total, const wxString & message = wxEmptyString);
void SetMessage(const wxString & message);
// 'ETB' character to indicate a new column in the message text.
// 'ETB' character to indicate a NEW column in the message text.
static const wxChar ColoumnSplitMarker = (char)23;
protected: