aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKlaus Reimer2011-04-06 21:17:42 +0200
committerMax Horn2011-04-12 11:05:48 +0200
commit48dbbdcd74e4e0f8b21d77fb9850d348a082c03d (patch)
tree9c32f69e38de5536005f0dfb8cd483f41fcb8027 /common
parenta4e757834e1ea227c207072868ca732f9872ed59 (diff)
downloadscummvm-rg350-48dbbdcd74e4e0f8b21d77fb9850d348a082c03d.tar.gz
scummvm-rg350-48dbbdcd74e4e0f8b21d77fb9850d348a082c03d.tar.bz2
scummvm-rg350-48dbbdcd74e4e0f8b21d77fb9850d348a082c03d.zip
COMMON: Fix usage of wrong variable when keymapper is active
Diffstat (limited to 'common')
-rw-r--r--common/config-manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/config-manager.cpp b/common/config-manager.cpp
index c8c0999a25..77c918dcae 100644
--- a/common/config-manager.cpp
+++ b/common/config-manager.cpp
@@ -120,7 +120,7 @@ void ConfigManager::addDomain(const Common::String &domainName, const ConfigMana
if (domainName == kApplicationDomain) {
_appDomain = domain;
#ifdef ENABLE_KEYMAPPER
- } else if (domain == kKeymapperDomain) {
+ } else if (domainName == kKeymapperDomain) {
_keymapperDomain = domain;
#endif
} else if (domain.contains("gameid")) {