From 5908674be918b8abc1c78a43296765871f8b5251 Mon Sep 17 00:00:00 2001 From: stephena Date: Mon, 10 Sep 2007 18:06:15 +0000 Subject: [PATCH] Fixed typo causing a segfault when not compiling in sound support. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1370 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/gui/OptionsDialog.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stella/src/gui/OptionsDialog.cxx b/stella/src/gui/OptionsDialog.cxx index c255e52e8..ca29fbe93 100644 --- a/stella/src/gui/OptionsDialog.cxx +++ b/stella/src/gui/OptionsDialog.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: OptionsDialog.cxx,v 1.60 2007-09-06 02:15:00 stephena Exp $ +// $Id: OptionsDialog.cxx,v 1.61 2007-09-10 18:06:15 stephena Exp $ // // Based on code from ScummVM - Scumm Interpreter // Copyright (C) 2002-2004 The ScummVM project @@ -68,7 +68,7 @@ OptionsDialog::OptionsDialog(OSystem* osystem, DialogContainer* parent, myAudioSettingsButton = addBigButton("Audio Settings", kAudCmd); #ifndef SOUND_SUPPORT - b->clearFlags(WIDGET_ENABLED); + myAudioSettingsButton->clearFlags(WIDGET_ENABLED); #endif wid.push_back(myAudioSettingsButton);