diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/input.cpp | 4 | ||||
-rw-r--r-- | engines/scumm/scumm.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp index a4525ad70c..27d56f62f3 100644 --- a/engines/scumm/input.cpp +++ b/engines/scumm/input.cpp @@ -493,9 +493,9 @@ void ScummEngine::processKeyboard(Common::KeyState lastKeyHit) { lastKeyHit.flags == Common::KBD_CTRL) { _snapScroll ^= 1; if (_snapScroll) { - messageDialog((const char *)"Snap scroll on"); + messageDialog("Snap scroll on"); } else { - messageDialog((const char *)"Snap scroll off"); + messageDialog("Snap scroll off"); } if (VAR_CAMERA_FAST_X != 0xFF) diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index 70785c5102..d29db052f3 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -2311,6 +2311,7 @@ int ScummEngine_v7::runDialog(Dialog &dialog) { void ScummEngine::messageDialog(const char *message) { if (!_messageDialog) _messageDialog = new InfoDialog(this, message); + ((InfoDialog *)_messageDialog)->setInfoText(message); runDialog(*_messageDialog); } |