GUI: Fix possible un-initialised variable usage in SaveLoadChooser.

This was reported by valgrind, while looking at a different issue.
This commit is contained in:
D G Turner 2012-08-12 00:19:44 +01:00
parent 78b8fa31ca
commit ab3b052c6f

View File

@ -44,6 +44,7 @@ enum {
SaveLoadChooser::SaveLoadChooser(const String &title, const String &buttonLabel, bool saveMode)
: Dialog("SaveLoadChooser"), _delSupport(0), _list(0), _chooseButton(0), _deleteButton(0), _gfxWidget(0) {
_delSupport = _metaInfoSupport = _thumbnailSupport = _saveDateSupport = _playTimeSupport = false;
_fillR = _fillG = _fillB = 0;
_backgroundType = ThemeEngine::kDialogBackgroundSpecial;