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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user