[Scummvm-cvs-logs] SF.net SVN: scummvm:[52899] scummvm/trunk/engines/agi/op_cmd.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sun Sep 26 13:20:55 CEST 2010
Revision: 52899
http://scummvm.svn.sourceforge.net/scummvm/?rev=52899&view=rev
Author: eriktorbjorn
Date: 2010-09-26 11:20:55 +0000 (Sun, 26 Sep 2010)
Log Message:
-----------
AGI: Fix bug in cmd_cancel_line()
We have to update cursor position, not just terminate the input
buffer. This makes Ctrl-C work as intended, which fixes one half of
bug #3054184 ("SQ1 AGI: keyboard special keys are not functioning
properly"). I'm not sure if the second half actually is a bug.
Modified Paths:
--------------
scummvm/trunk/engines/agi/op_cmd.cpp
Modified: scummvm/trunk/engines/agi/op_cmd.cpp
===================================================================
--- scummvm/trunk/engines/agi/op_cmd.cpp 2010-09-26 10:59:26 UTC (rev 52898)
+++ scummvm/trunk/engines/agi/op_cmd.cpp 2010-09-26 11:20:55 UTC (rev 52899)
@@ -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