1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-06 22:45:29 +01:00

"new"->"NEW" in comments, easier to find remaining naked operator new

This commit is contained in:
Paul Licameli
2016-02-13 10:43:16 -05:00
parent 56e7653343
commit 7c4c45a0d5
143 changed files with 451 additions and 451 deletions

View File

@@ -123,7 +123,7 @@ NumValidatorBase::GetCurrentValueAndInsertionPoint(wxString& val,
// Remove selected text because pressing a key would make it disappear.
val.erase(selFrom, selLen);
// And adjust the insertion point to have correct position in the new
// And adjust the insertion point to have correct position in the NEW
// string.
if ( pos > selFrom )
{
@@ -307,7 +307,7 @@ IntegerValidatorBase::IsCharOk(const wxString& val, int pos, wxChar ch) const
{
// Notice that entering '-' can make our value invalid, for example if
// we're limited to -5..15 range and the current value is 12, then the
// new value would be (invalid) -12. We consider it better to let the
// NEW value would be (invalid) -12. We consider it better to let the
// user do this because perhaps he is going to press Delete key next to
// make it -2 and forcing him to DELETE 1 first would be unnatural.
//