[Scummvm-cvs-logs] CVS: scummvm resource.cpp,1.28,1.29

Ludvig Strigeus strigeus at users.sourceforge.net
Thu Dec 27 10:04:12 CET 2001


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv23271

Modified Files:
	resource.cpp 
Log Message:
fixed invalid format string in validateResource

Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/resource.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** resource.cpp	2001/12/27 17:51:58	1.28
--- resource.cpp	2001/12/27 18:03:20	1.29
***************
*** 591,595 ****
  void Scumm::validateResource(const char *str, int type, int index) {
  	if (type<rtFirst || type>rtLast || (uint)index >= (uint)res.num[type]) {
! 		error("%d Illegal Glob type %d num %d", str, type, index);
  	}
  }
--- 591,595 ----
  void Scumm::validateResource(const char *str, int type, int index) {
  	if (type<rtFirst || type>rtLast || (uint)index >= (uint)res.num[type]) {
! 		error("%s Illegal Glob type %d num %d", str, type, index);
  	}
  }





More information about the Scummvm-git-logs mailing list