diff --git a/engines/mohawk/dialogs.cpp b/engines/mohawk/dialogs.cpp index 55820eebff7..c5327dbeea1 100644 --- a/engines/mohawk/dialogs.cpp +++ b/engines/mohawk/dialogs.cpp @@ -78,7 +78,7 @@ enum { MystOptionsDialog::MystOptionsDialog(MohawkEngine_Myst* vm) : GUI::OptionsDialog("", 120, 120, 360, 200), _vm(vm) { _zipModeCheckbox = new GUI::CheckboxWidget(this, 15, 10, 300, 15, "Zip Mode Activated", kZipCmd, 'Z'); - _transistionsCheckbox = new GUI::CheckboxWidget(this, 15, 30, 300, 15, "Transitions Enabled", kTransCmd, 'T'); + _transitionsCheckbox = new GUI::CheckboxWidget(this, 15, 30, 300, 15, "Transitions Enabled", kTransCmd, 'T'); new GUI::ButtonWidget(this, 95, 160, 120, 25, "OK", GUI::kOKCmd, 'O'); new GUI::ButtonWidget(this, 225, 160, 120, 25, "Cancel", GUI::kCloseCmd, 'C'); @@ -91,7 +91,7 @@ void MystOptionsDialog::open() { Dialog::open(); _zipModeCheckbox->setState(_vm->_zipMode); - _transistionsCheckbox->setState(_vm->_transitionsEnabled); + _transitionsCheckbox->setState(_vm->_transitionsEnabled); } void MystOptionsDialog::handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data) { @@ -100,7 +100,7 @@ void MystOptionsDialog::handleCommand(GUI::CommandSender *sender, uint32 cmd, ui _vm->_zipMode = _zipModeCheckbox->getState(); break; case kTransCmd: - _vm->_transitionsEnabled = _transistionsCheckbox->getState(); + _vm->_transitionsEnabled = _transitionsCheckbox->getState(); break; case GUI::kCloseCmd: close(); diff --git a/engines/mohawk/dialogs.h b/engines/mohawk/dialogs.h index ab8be647aaa..74e8f50b3dc 100644 --- a/engines/mohawk/dialogs.h +++ b/engines/mohawk/dialogs.h @@ -81,7 +81,7 @@ public: private: MohawkEngine_Myst *_vm; GUI::CheckboxWidget *_zipModeCheckbox; - GUI::CheckboxWidget *_transistionsCheckbox; + GUI::CheckboxWidget *_transitionsCheckbox; }; class RivenOptionsDialog : public GUI::OptionsDialog {