A couple of minor changes when #including <utime.h>
[ardour.git] / libs / ardour / lxvst_plugin.cc
index 259c5e646153b76679f18351637558b74f588f7b..62fff3f8b87c039fb6bb865e781dfdaf81e08d78 100644 (file)
@@ -59,7 +59,6 @@ LXVSTPlugin::LXVSTPlugin (const LXVSTPlugin &other)
        Session::vst_current_loading_id = 0;
 
        XMLNode* root = new XMLNode (other.state_node_name ());
-       LocaleGuard lg;
        other.add_state (root);
        set_state (*root, Stateful::loading_state_version);
        delete root;
@@ -120,7 +119,7 @@ LXVSTPluginInfo::get_presets (bool user_only) const
                Session::vst_current_loading_id = atoi (unique_id);
                AEffect* plugin = handle->main_entry (Session::vst_callback);
                Session::vst_current_loading_id = 0;
-               plugin->user = NULL;
+               plugin->ptr1 = NULL;
 
                plugin->dispatcher (plugin, effOpen, 0, 0, 0, 0); // :(
                int const vst_version = plugin->dispatcher (plugin, effGetVstVersion, 0, 0, NULL, 0);