[Scummvm-cvs-logs] scummvm master -> 48ea881e2b99be469ec450ec075105a8deb802de

eriktorbjorn eriktorbjorn at telia.com
Wed Jun 1 23:25:43 CEST 2016


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:
48ea881e2b GUI: Initialize pointers to NULL, not false


Commit: 48ea881e2b99be469ec450ec075105a8deb802de
    https://github.com/scummvm/scummvm/commit/48ea881e2b99be469ec450ec075105a8deb802de
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2016-06-01T23:25:19+02:00

Commit Message:
GUI: Initialize pointers to NULL, not false

Changed paths:
    gui/launcher.cpp



diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 7a1e368..9a3300b 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -282,7 +282,7 @@ EditGameDialog::EditGameDialog(const String &domain, const String &desc)
 	//
 	// 6) The MIDI tab
 	//
-	_globalMIDIOverride = false;
+	_globalMIDIOverride = NULL;
 	if (!_guioptions.contains(GUIO_NOMIDI)) {
 		tab->addTab(_("MIDI"));
 
@@ -297,7 +297,7 @@ EditGameDialog::EditGameDialog(const String &domain, const String &desc)
 	//
 	// 7) The MT-32 tab
 	//
-	_globalMT32Override = false;
+	_globalMT32Override = NULL;
 	if (!_guioptions.contains(GUIO_NOMIDI)) {
 		tab->addTab(_("MT-32"));
 






More information about the Scummvm-git-logs mailing list