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:
committed by
Paul Licameli
parent
e9e9ee2998
commit
859fe69a15
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user