[Scummvm-cvs-logs] CVS: scummvm scummvm.cpp,1.50,1.51

James Brown ender at users.sourceforge.net
Sat Mar 2 00:49:03 CET 2002


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

Modified Files:
	scummvm.cpp 
Log Message:
Er, malloc good.



Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scummvm.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** scummvm.cpp	2 Mar 2002 08:41:52 -0000	1.50
--- scummvm.cpp	2 Mar 2002 08:48:31 -0000	1.51
***************
*** 209,213 ****
  	if (!_gameDataPath) {
  		warning("No path was provided. Assuming that data file are in the current directory");
!                 strcpy(_gameDataPath, "");
  	}
  
--- 209,214 ----
  	if (!_gameDataPath) {
  		warning("No path was provided. Assuming that data file are in the current directory");
!         _gameDataPath = (char *)malloc(sizeof(char) * 2);
! 		strcpy(_gameDataPath, "");        
  	}
  





More information about the Scummvm-git-logs mailing list