aboutsummaryrefslogtreecommitdiff
path: root/engines/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dialogs.cpp')
-rw-r--r--engines/dialogs.cpp3
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');