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
This commit is contained in:
stephena 2007-09-10 18:06:15 +00:00
parent f2c377c1ae
commit 5908674be9
1 changed files with 2 additions and 2 deletions

View File

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