diff --git a/src/wine-host/plugin-bridge.cpp b/src/wine-host/plugin-bridge.cpp index f4b225ed..54cb6ee6 100644 --- a/src/wine-host/plugin-bridge.cpp +++ b/src/wine-host/plugin-bridge.cpp @@ -82,7 +82,7 @@ PluginBridge::PluginBridge(std::string plugin_dll_path, reinterpret_cast(reinterpret_cast( GetProcAddress(plugin_handle.get(), name))); - if (name != nullptr) { + if (vst_entry_point != nullptr) { break; } }