From 54d0e1d99296d4cf08c4194e6df6ec39ad65465e Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Thu, 1 Mar 2018 09:09:50 -0600 Subject: [PATCH] Fix thinko in prior commit 7c5f1c. --- libs/ardour/plugin_manager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 897f61c51a..00a89f2d79 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -1544,8 +1544,8 @@ PluginManager::save_tags () XMLNode* root = new XMLNode (X_("PluginTags")); for (PluginTagList::iterator i = ptags.begin(); i != ptags.end(); ++i) { - if ( (*i).tagtype == FromFactoryFile || (*i).tagtype == FromFactoryFile ) { - /* user file should contain only plugins that are (a) user-tagged or (b) previously unknown */ + if ( (*i).tagtype == FromFactoryFile || (*i).tagtype == FromUserFile ) { + /* user file should contain only plugins that are (a) newly user-tagged or (b) previously unknown */ continue; } XMLNode* node = new XMLNode (X_("Plugin"));