mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-13 14:13:32 +02:00
More use of std:: style members of wxString...
... replacing: Length => length Len => length
This commit is contained in:
@@ -534,7 +534,7 @@ ProgressResult FLACImportFileHandle::Import(TrackFactory *trackFactory,
|
||||
wxString value = mFile->mComments[c].AfterFirst(wxT('='));
|
||||
if (name.Upper() == wxT("DATE") && !tags->HasTag(TAG_YEAR)) {
|
||||
long val;
|
||||
if (value.Length() == 4 && value.ToLong(&val)) {
|
||||
if (value.length() == 4 && value.ToLong(&val)) {
|
||||
name = TAG_YEAR;
|
||||
}
|
||||
}
|
||||
|
@@ -27,7 +27,7 @@
|
||||
|
||||
bool ImportMIDI(const wxString &fName, NoteTrack * dest)
|
||||
{
|
||||
if (fName.Length() <= 4){
|
||||
if (fName.length() <= 4){
|
||||
AudacityMessageBox( wxString::Format(
|
||||
_("Could not open file %s: Filename too short."), fName
|
||||
) );
|
||||
|
@@ -370,7 +370,7 @@ ProgressResult OggImportFileHandle::Import(
|
||||
wxString value = comment.AfterFirst(wxT('='));
|
||||
if (name.Upper() == wxT("DATE") && !tags->HasTag(TAG_YEAR)) {
|
||||
long val;
|
||||
if (value.Length() == 4 && value.ToLong(&val)) {
|
||||
if (value.length() == 4 && value.ToLong(&val)) {
|
||||
name = TAG_YEAR;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user