From 90c12b3b3cc052c1ed28dd299d940cfab9709c85 Mon Sep 17 00:00:00 2001 From: Lars Persson Date: Mon, 23 Feb 2009 22:09:06 +0000 Subject: [PATCH] Must intialize _keysDialog to NULL svn-id: r38819 --- engines/scumm/dialogs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/engines/scumm/dialogs.cpp b/engines/scumm/dialogs.cpp index b193683337a..9fb107f9fcc 100644 --- a/engines/scumm/dialogs.cpp +++ b/engines/scumm/dialogs.cpp @@ -590,6 +590,7 @@ ConfigDialog::ConfigDialog() new GUI::ButtonWidget(this, "ScummConfig.Cancel", "Cancel", kCloseCmd, 'C'); #ifdef SMALL_SCREEN_DEVICE new GUI::ButtonWidget(this, "ScummConfig.Keys", "Keys", kKeysCmd, 'K'); + _keysDialog = NULL; #endif }