aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed
diff options
context:
space:
mode:
authorEugene Sandulenko2013-10-17 13:58:02 +0300
committerEugene Sandulenko2013-10-17 13:58:02 +0300
commit208cd2cf954b9da81945621ddab8489ab4620b96 (patch)
tree615e8186a3310fcb228adf3ef74554aac6f43af4 /engines/testbed
parent08f5445055aebaeafcaaaf422ccd632cbf9c78ba (diff)
downloadscummvm-rg350-208cd2cf954b9da81945621ddab8489ab4620b96.tar.gz
scummvm-rg350-208cd2cf954b9da81945621ddab8489ab4620b96.tar.bz2
scummvm-rg350-208cd2cf954b9da81945621ddab8489ab4620b96.zip
TESTBED: Fix uninitalized variable. CID 1002670
Diffstat (limited to 'engines/testbed')
-rw-r--r--engines/testbed/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/testbed/config.h b/engines/testbed/config.h
index d611ae4ec3..7d479a74fd 100644
--- a/engines/testbed/config.h
+++ b/engines/testbed/config.h
@@ -113,7 +113,7 @@ private:
class TestbedInteractionDialog : public GUI::Dialog {
public:
- TestbedInteractionDialog(uint x, uint y, uint w, uint h) : GUI::Dialog(x, y, w, h) {}
+ TestbedInteractionDialog(uint x, uint y, uint w, uint h) : GUI::Dialog(x, y, w, h), _xOffset(0), _yOffset(0) {}
~TestbedInteractionDialog() {}
virtual void handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data);
void addButton(uint w, uint h, const Common::String name, uint32 cmd, uint xOffset = 0, uint yPadding = 8);