aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorTarek Soliman2012-01-07 21:20:29 -0600
committerTarek Soliman2012-01-07 21:20:29 -0600
commitd143872be605b881eaec63b0168c9d4d551787ee (patch)
treea61132f9018890ed6540cdecdb5c54de4a395647 /base
parent82e0900678ab755256e141e15dd58a99090388f1 (diff)
downloadscummvm-rg350-d143872be605b881eaec63b0168c9d4d551787ee.tar.gz
scummvm-rg350-d143872be605b881eaec63b0168c9d4d551787ee.tar.bz2
scummvm-rg350-d143872be605b881eaec63b0168c9d4d551787ee.zip
KEYMAPPER: Constantify global keymap name
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/main.cpp b/base/main.cpp
index b4cfd45689..b39165ed6a 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -264,7 +264,7 @@ static void setupKeymapper(OSystem &system) {
using namespace Common;
Keymapper *mapper = system.getEventManager()->getKeymapper();
- Keymap *globalMap = new Keymap("global");
+ Keymap *globalMap = new Keymap(kGlobalKeymapName);
Action *act;
HardwareKeySet *keySet;
@@ -294,7 +294,7 @@ static void setupKeymapper(OSystem &system) {
mapper->addGlobalKeymap(globalMap);
- mapper->pushKeymap("global", true);
+ mapper->pushKeymap(kGlobalKeymapName, true);
#endif
}