diff options
-rw-r--r-- | common/config-manager.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/config-manager.cpp b/common/config-manager.cpp index a6fc67107e..98c1548214 100644 --- a/common/config-manager.cpp +++ b/common/config-manager.cpp @@ -131,12 +131,12 @@ void ConfigManager::addDomain(const Common::String &domainName, const ConfigMana _gameDomains[domainName] = domain; _domainSaveOrder.push_back(domainName); - - // Check if we have the same misc domain. For older config files - // we could have 'ghost' domains with the same name, so delete - // the ghost domain - if (_miscDomains.contains(domainName)) - _miscDomains.erase(domainName); + + // Check if we have the same misc domain. For older config files + // we could have 'ghost' domains with the same name, so delete + // the ghost domain + if (_miscDomains.contains(domainName)) + _miscDomains.erase(domainName); } else { // Otherwise it's a miscellaneous domain if (_miscDomains.contains(domainName)) |