aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2012-03-17 15:25:51 +0200
committerFilippos Karapetis2012-03-17 15:25:51 +0200
commit2b57ccfd5e9ce6f1a834fc20de4ea339743692ce (patch)
tree066827cf8a6c64e9d7cdacc3c370808159b27e09
parent97ed6a5abb9290d1870bb24012de6adc5bd9c604 (diff)
downloadscummvm-rg350-2b57ccfd5e9ce6f1a834fc20de4ea339743692ce.tar.gz
scummvm-rg350-2b57ccfd5e9ce6f1a834fc20de4ea339743692ce.tar.bz2
scummvm-rg350-2b57ccfd5e9ce6f1a834fc20de4ea339743692ce.zip
COMMON: Hopefully fix compilation
EVENT_CUSTOM_BACKEND_HARDWARE is only set when ENABLE_KEYMAPPER is set
-rw-r--r--common/EventMapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/EventMapper.cpp b/common/EventMapper.cpp
index 47db61e472..5f6771a71d 100644
--- a/common/EventMapper.cpp
+++ b/common/EventMapper.cpp
@@ -50,7 +50,7 @@ List<Event> DefaultEventMapper::mapEvent(const Event &ev, EventSource *source) {
if (mappedEvent.type == EVENT_INVALID)
mappedEvent = ev;
-#ifdef ENABLE_VKEYBD
+#ifdef ENABLE_KEYMAPPER
// TODO: this check is not needed post-split
if (mappedEvent.type == EVENT_CUSTOM_BACKEND_HARDWARE) {
warning("EVENT_CUSTOM_BACKEND_HARDWARE was not mapped");