[Scummvm-cvs-logs] scummvm master -> 2b57ccfd5e9ce6f1a834fc20de4ea339743692ce

bluegr md5 at scummvm.org
Sat Mar 17 14:26:36 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2b57ccfd5e COMMON: Hopefully fix compilation


Commit: 2b57ccfd5e9ce6f1a834fc20de4ea339743692ce
    https://github.com/scummvm/scummvm/commit/2b57ccfd5e9ce6f1a834fc20de4ea339743692ce
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2012-03-17T06:25:51-07:00

Commit Message:
COMMON: Hopefully fix compilation

EVENT_CUSTOM_BACKEND_HARDWARE is only set when ENABLE_KEYMAPPER is set

Changed paths:
    common/EventMapper.cpp



diff --git a/common/EventMapper.cpp b/common/EventMapper.cpp
index 47db61e..5f6771a 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");






More information about the Scummvm-git-logs mailing list