From cc5480a224db8f5f74fc02721e410cf52312f374 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 10 Feb 2021 21:03:07 +0100 Subject: [PATCH] Fix loading 32-bit VST3 plugins This is why GHC warns on shadowing by default. Probably. --- src/plugin/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp index e56882ee..f17a5de3 100644 --- a/src/plugin/utils.cpp +++ b/src/plugin/utils.cpp @@ -155,7 +155,7 @@ fs::path find_plugin_library(const fs::path& this_plugin_path, if (!fs::exists(candidate_path)) { // Try the 32-bit version no 64-bit version exists (although, is // there a single VST3 plugin where this is the case?) - fs::path candidate_path = + candidate_path = bundle_home / "Contents" / "x86-win" / win_module_name; }