[Scummvm-cvs-logs] CVS: scummvm/scumm debugger.cpp,1.63,1.64

Max Horn fingolfin at users.sourceforge.net
Thu Jul 3 15:07:03 CEST 2003


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

Modified Files:
	debugger.cpp 
Log Message:
const correctness

Index: debugger.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/debugger.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- debugger.cpp	2 Jul 2003 13:47:03 -0000	1.63
+++ debugger.cpp	3 Jul 2003 22:06:10 -0000	1.64
@@ -900,7 +900,7 @@
 }
 
 bool ScummDebugger::Cmd_PrintDraft(int argc, const char **argv) {
-	char *names[] = {
+	const char *names[] = {
 		"Opening",      "Straw to Gold", "Dyeing",
 		"Night Vision",	"Twisting",      "Sleep",
 		"Emptying",     "Invisibility",  "Terror",
@@ -913,7 +913,7 @@
 		   73, 19274,    76,    77, 20302, 20816, 21330,    84
 	};
 		
-	char *notes = "cdefgabC";
+	const char *notes = "cdefgabC";
 	int i, base, draft;
 
 	if (_s->_gameId != GID_LOOM && _s->_gameId != GID_LOOM256) {





More information about the Scummvm-git-logs mailing list