From abf37ebbf3e678181731a8eb77d69bdf6c51685a Mon Sep 17 00:00:00 2001 From: Marisa-Chan Date: Fri, 19 Dec 2014 16:51:43 +0600 Subject: ZVISION: Fix uninitialized scalar field (CID 1257080) --- engines/zvision/scripting/controls/push_toggle_control.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/zvision/scripting/controls/push_toggle_control.cpp') 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(); -- cgit v1.2.3