aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorTorbjörn Andersson2016-06-01 23:25:19 +0200
committerTorbjörn Andersson2016-06-01 23:25:19 +0200
commit48ea881e2b99be469ec450ec075105a8deb802de (patch)
treef81719017aa690c067849f5888352be9865a00a6 /gui
parenta612b0a173eefc80d635a2711cd9f20e4601839d (diff)
downloadscummvm-rg350-48ea881e2b99be469ec450ec075105a8deb802de.tar.gz
scummvm-rg350-48ea881e2b99be469ec450ec075105a8deb802de.tar.bz2
scummvm-rg350-48ea881e2b99be469ec450ec075105a8deb802de.zip
GUI: Initialize pointers to NULL, not false
Diffstat (limited to 'gui')
-rw-r--r--gui/launcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 7a1e368f36..9a3300b11f 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"));