NOOP, remove trailing tabs/whitespace.
[ardour.git] / libs / ardour / windows_vst_plugin.cc
index 03170e0d04a6db3a25889c9adf53d2b3a704cb15..abca61155e7a0fe6f525aa798c5cdfddf6866795 100644 (file)
@@ -50,7 +50,7 @@ WindowsVSTPlugin::WindowsVSTPlugin (const WindowsVSTPlugin &other)
                throw failed_constructor();
        }
        Session::vst_current_loading_id = 0;
-       
+
        _plugin = _state->plugin;
 }
 
@@ -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)));