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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user