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:
@@ -786,7 +786,7 @@ wxRect ScreenshotCommand::GetTrackRect( AudacityProject * pProj, TrackPanel * pa
|
||||
}
|
||||
|
||||
wxString ScreenshotCommand::WindowFileName(AudacityProject * proj, wxTopLevelWindow *w){
|
||||
if (w != proj && w->GetTitle() != wxT("")) {
|
||||
if (w != proj && !w->GetTitle().empty()) {
|
||||
mFileName = MakeFileName(mFilePath,
|
||||
kCaptureWhatStrings[ mCaptureMode ].Translation() +
|
||||
(wxT("-") + w->GetTitle() + wxT("-")));
|
||||
|
||||
Reference in New Issue
Block a user