Fix thinko in prior commit 7c5f1c.
authorBen Loftis <ben@harrisonconsoles.com>
Thu, 1 Mar 2018 15:09:50 +0000 (09:09 -0600)
committerBen Loftis <ben@harrisonconsoles.com>
Thu, 1 Mar 2018 15:09:50 +0000 (09:09 -0600)
libs/ardour/plugin_manager.cc

index 897f61c51ab47002eee1ddd3c8aa4615cbdad0a0..00a89f2d799ee1843554f3bb140f017039a727b6 100644 (file)
@@ -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"));