From: Laszlo T. <ave...@us...> - 2005-12-21 16:54:05
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/TLKImporter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5198/plugins/TLKImporter Modified Files: TLKImp.cpp Log Message: fixed several problems causing incorrect areas saved in the cache changed some char * to const char * to protect data Index: TLKImp.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/TLKImporter/TLKImp.cpp,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** TLKImp.cpp 24 Nov 2005 17:44:10 -0000 1.54 --- TLKImp.cpp 21 Dec 2005 16:53:52 -0000 1.55 *************** *** 323,327 **** TableMgr* tm = core->GetTable( ind ); if (tm) { ! char* value = tm->QueryField( row, 2 ); Decoded = GetString( atoi( value ), 0 ); goto exit_function; --- 323,327 ---- TableMgr* tm = core->GetTable( ind ); if (tm) { ! const char* value = tm->QueryField( row, 2 ); Decoded = GetString( atoi( value ), 0 ); goto exit_function; |