summaryrefslogtreecommitdiff
path: root/libs/ardour/windows_vst_plugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/windows_vst_plugin.cc')
-rw-r--r--libs/ardour/windows_vst_plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/windows_vst_plugin.cc b/libs/ardour/windows_vst_plugin.cc
index 03170e0d04..823b96cffe 100644
--- a/libs/ardour/windows_vst_plugin.cc
+++ b/libs/ardour/windows_vst_plugin.cc
@@ -71,7 +71,7 @@ WindowsVSTPluginInfo::load (Session& session)
handle = fst_load(path.c_str());
- if ((int) handle == -1) {
+ if (!handle) {
error << string_compose(_("VST: cannot load module from \"%1\""), path) << endmsg;
} else {
plugin.reset (new WindowsVSTPlugin (session.engine(), session, handle, PBD::atoi(unique_id)));