[Scummvm-cvs-logs] CVS: scummvm config-file.cpp,1.5,1.6

Nicolas Bacca arisme at users.sourceforge.net
Wed May 1 15:29:48 CEST 2002


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

Modified Files:
	config-file.cpp 
Log Message:
Fixed new domain create (Pixel, please recheck :))

Index: config-file.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/config-file.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** config-file.cpp	1 May 2002 17:16:45 -0000	1.5
--- config-file.cpp	1 May 2002 22:28:05 -0000	1.6
***************
*** 250,254 ****
  	hash =
  		(hashconfig **) realloc(hash, ndomains * sizeof(hashconfig *));
! 	hash[ndomains - 1] = new hashconfig(domain);
  
  	return hash[ndomains - 1]->set(key, value);
--- 250,254 ----
  	hash =
  		(hashconfig **) realloc(hash, ndomains * sizeof(hashconfig *));
! 	hash[ndomains - 1] = new hashconfig(d);
  
  	return hash[ndomains - 1]->set(key, value);
***************
*** 274,278 ****
  	hash =
  		(hashconfig **) realloc(hash, ndomains * sizeof(hashconfig *));
! 	hash[ndomains - 1] = new hashconfig(domain);
  
  	return hash[ndomains - 1]->set(key, value);
--- 274,278 ----
  	hash =
  		(hashconfig **) realloc(hash, ndomains * sizeof(hashconfig *));
! 	hash[ndomains - 1] = new hashconfig(d);
  
  	return hash[ndomains - 1]->set(key, value);





More information about the Scummvm-git-logs mailing list