From 2b57ccfd5e9ce6f1a834fc20de4ea339743692ce Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 17 Mar 2012 15:25:51 +0200 Subject: COMMON: Hopefully fix compilation EVENT_CUSTOM_BACKEND_HARDWARE is only set when ENABLE_KEYMAPPER is set --- common/EventMapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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 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"); -- cgit v1.2.3