mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-06 03:32:09 +01:00
Replace comparisons against "" with empty()
This commit is contained in:
@@ -541,7 +541,7 @@ void ScreenFrame::OnDirChoose(wxCommandEvent & WXUNUSED(event))
|
||||
current);
|
||||
|
||||
dlog.ShowModal();
|
||||
if (dlog.GetPath() != wxT("")) {
|
||||
if (!dlog.GetPath().empty()) {
|
||||
wxFileName tmpDirPath;
|
||||
tmpDirPath.AssignDir(dlog.GetPath());
|
||||
wxString path = tmpDirPath.GetPath(wxPATH_GET_VOLUME|wxPATH_GET_SEPARATOR);
|
||||
|
||||
Reference in New Issue
Block a user