[Scummvm-cvs-logs] CVS: scummvm/scumm debugger.cpp,1.69,1.70

Max Horn fingolfin at users.sourceforge.net
Tue Aug 5 12:24:04 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv10585

Modified Files:
	debugger.cpp 
Log Message:
fix for debugger tab completion (thanks wjp)

Index: debugger.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/debugger.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- debugger.cpp	24 Jul 2003 17:44:00 -0000	1.69
+++ debugger.cpp	5 Aug 2003 19:23:26 -0000	1.70
@@ -1062,7 +1062,7 @@
 
 	completion = new char[matchlen+1];
 	memcpy(completion, match, matchlen);
-	completion[matchlen+1] = 0;
+	completion[matchlen] = 0;
 	return true;
 }
 





More information about the Scummvm-git-logs mailing list