1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-07 12:12:23 +01:00

Case insensitive comparison for file extensions in two places...

... consistent with handling of file extensions elsewhere
This commit is contained in:
Paul Licameli
2019-03-01 14:14:40 -05:00
parent a5e0b66d1f
commit e832b6895e
2 changed files with 4 additions and 4 deletions

View File

@@ -1791,8 +1791,8 @@ bool PluginManager::DropFile(const wxString &fileName)
const auto &ff = module->InstallPath();
auto extensions = module->GetFileExtensions();
if (!ff.empty() &&
make_iterator_range(extensions).contains(src.GetExt())) {
if ( !ff.empty() &&
extensions.Index(src.GetExt(), false) != wxNOT_FOUND ) {
wxString errMsg;
// Do dry-run test of the file format
unsigned nPlugIns =