[Scummvm-cvs-logs] scummvm master -> cd31c9e87aa6cf0468d3f13fd64b47920c9f944f

Strangerke Strangerke at scummvm.org
Thu Jun 12 14:20:19 CEST 2014


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:
cd31c9e87a MADS: initialize a couple of variable in DialogLine


Commit: cd31c9e87aa6cf0468d3f13fd64b47920c9f944f
    https://github.com/scummvm/scummvm/commit/cd31c9e87aa6cf0468d3f13fd64b47920c9f944f
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-06-12T14:18:52+02:00

Commit Message:
MADS: initialize a couple of variable in DialogLine

Changed paths:
    engines/mads/nebular/dialogs_nebular.cpp



diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp
index 99fa01c..36858a4 100644
--- a/engines/mads/nebular/dialogs_nebular.cpp
+++ b/engines/mads/nebular/dialogs_nebular.cpp
@@ -475,9 +475,11 @@ ScreenDialog::DialogLine::DialogLine() {
 	_textDisplayIndex = -1;
 	_font = nullptr;
 	_widthAdjust = 0;
+	_msg = "";
 }
 
 ScreenDialog::DialogLine::DialogLine(const Common::String &s) {
+	_active = true;
 	_state = DLGSTATE_UNSELECTED;
 	_textDisplayIndex = -1;
 	_font = nullptr;






More information about the Scummvm-git-logs mailing list