aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorEugene Sandulenko2013-09-22 11:47:37 +0300
committerEugene Sandulenko2013-09-22 11:47:37 +0300
commit8098ed9b466f8538e3878c76e46be525028ec2d4 (patch)
tree4e0f7d1747528373a8682ea8f9f3d907d8ed2de3 /backends
parent2b2157cf620da980bb8bad0adcf43fef4b4d40a8 (diff)
downloadscummvm-rg350-8098ed9b466f8538e3878c76e46be525028ec2d4.tar.gz
scummvm-rg350-8098ed9b466f8538e3878c76e46be525028ec2d4.tar.bz2
scummvm-rg350-8098ed9b466f8538e3878c76e46be525028ec2d4.zip
EVENTS: Initialize class variable. CID 1002944
Diffstat (limited to 'backends')
-rw-r--r--backends/events/default/default-events.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/events/default/default-events.cpp b/backends/events/default/default-events.cpp
index bf76bbc1cb..30f3b3790c 100644
--- a/backends/events/default/default-events.cpp
+++ b/backends/events/default/default-events.cpp
@@ -54,6 +54,8 @@ DefaultEventManager::DefaultEventManager(Common::EventSource *boss) :
_currentKeyDown.ascii = 0;
_currentKeyDown.flags = 0;
+ _keyRepeatTime = 0;
+
#ifdef ENABLE_VKEYBD
_vk = new Common::VirtualKeyboard();
#endif