[Scummvm-cvs-logs] SF.net SVN: scummvm: [26756] scummvm/trunk/engines/agos/window.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Sun May 6 11:31:33 CEST 2007


Revision: 26756
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26756&view=rev
Author:   kirben
Date:     2007-05-06 02:31:32 -0700 (Sun, 06 May 2007)

Log Message:
-----------
Fix regression that caused input to fail, after load or save error occurs.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/window.cpp

Modified: scummvm/trunk/engines/agos/window.cpp
===================================================================
--- scummvm/trunk/engines/agos/window.cpp	2007-05-06 08:52:27 UTC (rev 26755)
+++ scummvm/trunk/engines/agos/window.cpp	2007-05-06 09:31:32 UTC (rev 26756)
@@ -215,8 +215,8 @@
 		windowPutChar(window, *message);
 
 	ha = findEmptyHitArea();
-	ha->x = 96;
-	ha->y = 62;
+	ha->x = (window->width / 2 + window->x - 3) * 8; 
+	ha->y = window->height * 8 + window->y - 8;
 	ha->width = 48;
 	ha->height = 8;
 	ha->flags = kBFBoxInUse;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list