[Scummvm-git-logs] scummvm master -> e376abf650137c0d4dfa0f424f3a035813e3f618

digitall dgturner at iee.org
Mon Sep 2 12:44:59 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e376abf650 GUI: Fix Missing Field Initializer in List Widget


Commit: e376abf650137c0d4dfa0f424f3a035813e3f618
    https://github.com/scummvm/scummvm/commit/e376abf650137c0d4dfa0f424f3a035813e3f618
Author: D G Turner (digitall at scummvm.org)
Date: 2019-09-02T11:42:17+01:00

Commit Message:
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.

Changed paths:
    gui/widgets/list.cpp


diff --git a/gui/widgets/list.cpp b/gui/widgets/list.cpp
index 0d2e9c0..cc5ea91 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)





More information about the Scummvm-git-logs mailing list