aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTarek Soliman2012-02-21 13:34:30 -0600
committerTarek Soliman2012-02-22 07:04:59 -0600
commit6b91c94a096940285a2fe8909654fece0167900d (patch)
tree53c4eda934e9d88e001fe8f02fbcc21535410380 /common
parent221b78e4e2c057a3494618e2dfbd2f2b1f1ffe01 (diff)
downloadscummvm-rg350-6b91c94a096940285a2fe8909654fece0167900d.tar.gz
scummvm-rg350-6b91c94a096940285a2fe8909654fece0167900d.tar.bz2
scummvm-rg350-6b91c94a096940285a2fe8909654fece0167900d.zip
KEYMAPPER: Initialize Event::customType
Diffstat (limited to 'common')
-rw-r--r--common/events.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/events.h b/common/events.h
index 69cca9b54a..5f6a7798dd 100644
--- a/common/events.h
+++ b/common/events.h
@@ -118,7 +118,11 @@ struct Event {
CustomEventType customType;
#endif
- Event() : type(EVENT_INVALID), synthetic(false) {}
+ Event() : type(EVENT_INVALID), synthetic(false) {
+#ifdef ENABLE_KEYMAPPER
+ customType = 0;
+#endif
+ }
};
/**