aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-03-20 17:33:08 +0000
committerTorbjörn Andersson2006-03-20 17:33:08 +0000
commitc506e452f1a99250e1b2d1f9d92bf7ee04a4b6a0 (patch)
tree806a8f43ce8da5272204b6d0a8b764e1a88f31d5 /engines/kyra/gui.cpp
parentfce18c2e13392c4e347c821e56381cd19afb7ef4 (diff)
downloadscummvm-rg350-c506e452f1a99250e1b2d1f9d92bf7ee04a4b6a0.tar.gz
scummvm-rg350-c506e452f1a99250e1b2d1f9d92bf7ee04a4b6a0.tar.bz2
scummvm-rg350-c506e452f1a99250e1b2d1f9d92bf7ee04a4b6a0.zip
Initialise _haveScrollButtons, since Valgrind complained about it.
svn-id: r21392
Diffstat (limited to 'engines/kyra/gui.cpp')
-rw-r--r--engines/kyra/gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/gui.cpp b/engines/kyra/gui.cpp
index 9be3b910e1..43b760063c 100644
--- a/engines/kyra/gui.cpp
+++ b/engines/kyra/gui.cpp
@@ -32,6 +32,7 @@
namespace Kyra {
void KyraEngine::initMainButtonList() {
+ _haveScrollButtons = false;
_buttonList = &_buttonData[0];
for (int i = 0; _buttonDataListPtr[i]; ++i) {
_buttonList = initButton(_buttonList, _buttonDataListPtr[i]);