[Scummvm-cvs-logs] SF.net SVN: scummvm:[52900] scummvm/branches/branch-1-2-0/engines/agi/ op_cmd.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun Sep 26 13:21:58 CEST 2010


Revision: 52900
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52900&view=rev
Author:   eriktorbjorn
Date:     2010-09-26 11:21:58 +0000 (Sun, 26 Sep 2010)

Log Message:
-----------
AGI: Fix bug in cmd_cancel_line()

Backported from the trunk to fix Ctrl-C. Part of bug #3054184 ("SQ1
AGI: keyboard special keys are not functioning properly").

Modified Paths:
--------------
    scummvm/branches/branch-1-2-0/engines/agi/op_cmd.cpp

Modified: scummvm/branches/branch-1-2-0/engines/agi/op_cmd.cpp
===================================================================
--- scummvm/branches/branch-1-2-0/engines/agi/op_cmd.cpp	2010-09-26 11:20:55 UTC (rev 52899)
+++ scummvm/branches/branch-1-2-0/engines/agi/op_cmd.cpp	2010-09-26 11:21:58 UTC (rev 52900)
@@ -497,6 +497,7 @@
 
 void AgiEngine::cmd_cancel_line(uint8 *p) {
 	_game.inputBuffer[0] = 0;
+	_game.cursorPos = 0;
 	writePrompt();
 }
 


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