aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorD G Turner2019-09-02 11:42:17 +0100
committerD G Turner2019-09-02 11:42:17 +0100
commite376abf650137c0d4dfa0f424f3a035813e3f618 (patch)
treefb927906d17d7c62a716be38157f60690244bfe6 /gui
parent9306135a6a648cca999003f77d33c384ea2a5504 (diff)
downloadscummvm-rg350-e376abf650137c0d4dfa0f424f3a035813e3f618.tar.gz
scummvm-rg350-e376abf650137c0d4dfa0f424f3a035813e3f618.tar.bz2
scummvm-rg350-e376abf650137c0d4dfa0f424f3a035813e3f618.zip
GUI: Fix Missing Field Initializer in List Widget
This field was introduced by the TTS code changes, but only one of the constructors was modified to set the default value.
Diffstat (limited to 'gui')
-rw-r--r--gui/widgets/list.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/widgets/list.cpp b/gui/widgets/list.cpp
index 0d2e9c0ef4..cc5ea91745 100644
--- a/gui/widgets/list.cpp
+++ b/gui/widgets/list.cpp
@@ -62,6 +62,8 @@ ListWidget::ListWidget(Dialog *boss, const String &name, const char *tooltip, ui
_quickSelect = true;
_editColor = ThemeEngine::kFontColorNormal;
+
+ _lastRead = -1;
}
ListWidget::ListWidget(Dialog *boss, int x, int y, int w, int h, const char *tooltip, uint32 cmd)