GUI: Initialize pointers to NULL, not false

This commit is contained in:
Torbjörn Andersson 2016-06-01 23:25:19 +02:00
parent a612b0a173
commit 48ea881e2b

View File

@ -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"));