1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-07 06:55:52 +01:00

Replace comparisons against wxEmptyString with empty()

This commit is contained in:
Paul Licameli
2019-03-14 16:20:18 -04:00
parent 50074f2cfe
commit b8c0125143
17 changed files with 29 additions and 29 deletions

View File

@@ -66,7 +66,7 @@ void ModulePrefs::GetAllModuleStatuses(){
gPrefs->Read( str, &iStatus, kModuleDisabled );
wxString fname;
gPrefs->Read( wxString( wxT("/ModulePath/") ) + str, &fname, wxEmptyString );
if( fname != wxEmptyString && wxFileExists( fname ) ){
if( !fname.empty() && wxFileExists( fname ) ){
if( iStatus > kModuleNew ){
iStatus = kModuleNew;
gPrefs->Write( str, iStatus );