[Scummvm-cvs-logs] scummvm master -> 240982a46e82ddfb8c03e1dd1b7f0d12a9281a7a

m-kiewitz m_kiewitz at users.sourceforge.net
Thu Feb 4 17:22:57 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
240982a46e AGI: Fix cursor position after save game descr.


Commit: 240982a46e82ddfb8c03e1dd1b7f0d12a9281a7a
    https://github.com/scummvm/scummvm/commit/240982a46e82ddfb8c03e1dd1b7f0d12a9281a7a
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2016-02-04T17:22:23+01:00

Commit Message:
AGI: Fix cursor position after save game descr.

Cursor was placed incorrectly after entering saved game description
using original load/save dialogs.

Changed paths:
    engines/agi/systemui.cpp



diff --git a/engines/agi/systemui.cpp b/engines/agi/systemui.cpp
index d5d9178..2dd6629 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);






More information about the Scummvm-git-logs mailing list