use C++ for PortManager::make_port_name_relative()
[ardour.git] / libs / ardour / plugin.cc
index a93dae9e0f8f68b1909430a29160ec71c0e5f88e..89f6d24137f862f9f4ddc13cfd0e7f375c409806 100644 (file)
@@ -328,6 +328,7 @@ Plugin::get_presets ()
                info << string_compose (_("Plugin presets are not supported in this build of %1. Consider paying for a full version"),
                                        PROGRAM_NAME)
                     << endmsg;
+               seen_set_state_message = true;
        }
 #endif
 
@@ -395,7 +396,7 @@ Plugin::get_state ()
        root->add_property (X_("last-preset-label"), _last_preset.label);
        root->add_property (X_("parameter-changed-since-last-preset"), _parameter_changed_since_last_preset ? X_("yes") : X_("no"));
 
-#ifndef NO_PLUGIN_STATE        
+#ifndef NO_PLUGIN_STATE
        add_state (root);
 #else
        if (!seen_get_state_message) {