From d143872be605b881eaec63b0168c9d4d551787ee Mon Sep 17 00:00:00 2001 From: Tarek Soliman Date: Sat, 7 Jan 2012 21:20:29 -0600 Subject: KEYMAPPER: Constantify global keymap name --- base/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base') 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 } -- cgit v1.2.3