Fix thinko in prior commit 7c5f1c.

This commit is contained in:
Ben Loftis 2018-03-01 09:09:50 -06:00
parent 91046b686d
commit 54d0e1d992

View 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"));