fix when CHEATCODE_SUPPORT is undefined

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1294 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
knakos 2007-01-18 16:30:32 +00:00
parent 429c03130d
commit c0636ef528
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: OptionsDialog.cxx,v 1.49 2007-01-17 13:17:42 stephena Exp $ // $Id: OptionsDialog.cxx,v 1.50 2007-01-18 16:30:32 knakos Exp $
// //
// Based on code from ScummVM - Scumm Interpreter // Based on code from ScummVM - Scumm Interpreter
// Copyright (C) 2002-2004 The ScummVM project // Copyright (C) 2002-2004 The ScummVM project
@ -159,7 +159,9 @@ OptionsDialog::~OptionsDialog()
delete myUIDialog; delete myUIDialog;
delete myFileSnapDialog; delete myFileSnapDialog;
delete myGameInfoDialog; delete myGameInfoDialog;
#ifdef CHEATCODE_SUPPORT
delete myCheatCodeDialog; delete myCheatCodeDialog;
#endif
delete myHelpDialog; delete myHelpDialog;
delete myAboutDialog; delete myAboutDialog;
} }