mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-17 00:07:54 +01:00
Replace comparisons against wxEmptyString with empty()
This commit is contained in:
@@ -893,7 +893,7 @@ void TimerRecordDialog::PopulateOrExchange(ShuttleGui& S)
|
||||
wxString sInitialValue = wxT("");
|
||||
AudacityProject* pProject = GetActiveProject();
|
||||
wxString sSaveValue = pProject->GetFileName();
|
||||
if (sSaveValue != wxEmptyString) {
|
||||
if (!sSaveValue.empty()) {
|
||||
m_fnAutoSaveFile.Assign(sSaveValue);
|
||||
sInitialValue = _("Current Project");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user