1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-17 11:46:35 +01:00

Case insensitive command names.

This commit is contained in:
James Crook
2018-02-16 22:47:36 +00:00
committed by Paul Licameli
parent e9e9ee2998
commit 859fe69a15
3 changed files with 4 additions and 4 deletions

View File

@@ -651,7 +651,7 @@ bool BatchCommands::ApplyCommand(const wxString & command, const wxString & para
// Test for a special command.
// CLEANSPEECH remnant
for( i = 0; i < sizeof(SpecialCommands)/sizeof(*SpecialCommands); ++i ) {
if( command == SpecialCommands[i].second )
if( command.IsSameAs( SpecialCommands[i].second, false) )
return ApplySpecialCommand( i, command, params );
}
// end CLEANSPEECH remnant