diff options
author | Max Horn | 2008-10-03 16:07:57 +0000 |
---|---|---|
committer | Max Horn | 2008-10-03 16:07:57 +0000 |
commit | 84229ee79c484e199f9a5e74d5ffae6b29747f2a (patch) | |
tree | cf9c9f1664f8438de8eeb10141c572c946e6eb9d /engines/dialogs.cpp | |
parent | b178332e3e5eef2972e566b5a4fca5b66189ba20 (diff) | |
download | scummvm-rg350-84229ee79c484e199f9a5e74d5ffae6b29747f2a.tar.gz scummvm-rg350-84229ee79c484e199f9a5e74d5ffae6b29747f2a.tar.bz2 scummvm-rg350-84229ee79c484e199f9a5e74d5ffae6b29747f2a.zip |
Fixed Engine::hasFeature to use proper types (i.e., MetaEngine::MetaEngineFeature instead of int)
svn-id: r34731
Diffstat (limited to 'engines/dialogs.cpp')
-rw-r--r-- | engines/dialogs.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/dialogs.cpp b/engines/dialogs.cpp index 7c5963544c..9f073cd545 100644 --- a/engines/dialogs.cpp +++ b/engines/dialogs.cpp @@ -103,8 +103,7 @@ MainMenuDialog::MainMenuDialog(Engine *engine) new GUI::ButtonWidget(this, "globalmain_about", "About", kAboutCmd, 'A'); _rtlButton = new GUI::ButtonWidget(this, "globalmain_rtl", "Return to Launcher", kRTLCmd, 'R'); - // '0' corresponds to the kSupportsRTL MetaEngineFeature - _rtlButton->setEnabled(_engine->hasFeature(0)); + _rtlButton->setEnabled(_engine->hasFeature(MetaEngine::kSupportsRTL)); new GUI::ButtonWidget(this, "globalmain_quit", "Quit", kQuitCmd, 'Q'); |