aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMarisa-Chan2014-12-19 16:51:43 +0600
committerMarisa-Chan2014-12-19 16:51:43 +0600
commitabf37ebbf3e678181731a8eb77d69bdf6c51685a (patch)
treee69f3f123b732fef2286b49548d881f30465dd72 /engines
parent1078d0c19311b82db00d4524f5f29e7f2ca52795 (diff)
downloadscummvm-rg350-abf37ebbf3e678181731a8eb77d69bdf6c51685a.tar.gz
scummvm-rg350-abf37ebbf3e678181731a8eb77d69bdf6c51685a.tar.bz2
scummvm-rg350-abf37ebbf3e678181731a8eb77d69bdf6c51685a.zip
ZVISION: Fix uninitialized scalar field (CID 1257080)
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/scripting/controls/push_toggle_control.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/zvision/scripting/controls/push_toggle_control.cpp b/engines/zvision/scripting/controls/push_toggle_control.cpp
index 3811498cd5..f51a28d644 100644
--- a/engines/zvision/scripting/controls/push_toggle_control.cpp
+++ b/engines/zvision/scripting/controls/push_toggle_control.cpp
@@ -35,6 +35,7 @@ namespace ZVision {
PushToggleControl::PushToggleControl(ZVision *engine, uint32 key, Common::SeekableReadStream &stream)
: Control(engine, key, CONTROL_PUSHTGL),
_countTo(2),
+ _cursor(CursorIndex_Active),
_event(Common::EVENT_LBUTTONUP) {
_hotspots.clear();