aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-04 17:22:23 +0100
committerMartin Kiewitz2016-02-04 17:22:23 +0100
commit240982a46e82ddfb8c03e1dd1b7f0d12a9281a7a (patch)
tree5df0351989bfb33be560af49fcbbd70c276114b6
parentaf8dbfc998702cf02ec79df73fcf7221c4b8a2a0 (diff)
downloadscummvm-rg350-240982a46e82ddfb8c03e1dd1b7f0d12a9281a7a.tar.gz
scummvm-rg350-240982a46e82ddfb8c03e1dd1b7f0d12a9281a7a.tar.bz2
scummvm-rg350-240982a46e82ddfb8c03e1dd1b7f0d12a9281a7a.zip
AGI: Fix cursor position after save game descr.
Cursor was placed incorrectly after entering saved game description using original load/save dialogs.
-rw-r--r--engines/agi/systemui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agi/systemui.cpp b/engines/agi/systemui.cpp
index d5d9178d41..2dd6629103 100644
--- a/engines/agi/systemui.cpp
+++ b/engines/agi/systemui.cpp
@@ -274,9 +274,10 @@ bool SystemUI::askForSaveGameDescription(int16 slotId, Common::String &newDescri
_text->drawMessageBox(_textSaveGameEnterDescription, 0, 31, true);
+ _text->inputEditOn();
+
_text->charPos_Push();
_text->charAttrib_Push();
- _text->inputEditOn();
_text->charPos_SetInsideWindow(3, 0);
_text->charAttrib_Set(15, 0);