mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-15 23:44:59 +01:00
Replace comparisons against "" with empty()
This commit is contained in:
@@ -45,7 +45,7 @@ bool BatchEvalCommand::Apply(const CommandContext & context)
|
||||
MacroCommandsCatalog catalog(&context.project);
|
||||
|
||||
wxString macroName = GetString(wxT("MacroName"));
|
||||
if (macroName != wxT(""))
|
||||
if (!macroName.empty())
|
||||
{
|
||||
MacroCommands batch;
|
||||
batch.ReadMacro(macroName);
|
||||
|
||||
Reference in New Issue
Block a user