diff options
author | Torbjörn Andersson | 2006-03-20 17:33:08 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-03-20 17:33:08 +0000 |
commit | c506e452f1a99250e1b2d1f9d92bf7ee04a4b6a0 (patch) | |
tree | 806a8f43ce8da5272204b6d0a8b764e1a88f31d5 /engines | |
parent | fce18c2e13392c4e347c821e56381cd19afb7ef4 (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/kyra/gui.cpp | 1 |
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]); |