LayeredSettingsInterface: Fix reversed section/key

This commit is contained in:
Stenzek 2023-09-20 16:55:44 +10:00
parent b0d685ede5
commit e63b2eec38

View file

@ -139,7 +139,7 @@ bool LayeredSettingsInterface::ContainsValue(const char* section, const char* ke
{ {
if (SettingsInterface* sif = m_layers[layer]; sif != nullptr) if (SettingsInterface* sif = m_layers[layer]; sif != nullptr)
{ {
if (sif->ContainsValue(key, section)) if (sif->ContainsValue(section, key))
return true; return true;
} }
} }