From: Laszlo T. <ave...@us...> - 2007-01-31 21:20:41
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/TLKImporter In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv16104/TLKImporter Modified Files: TLKImp.cpp Log Message: applied patch #1646498 and #1646494 plus some similar fixes Index: TLKImp.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/TLKImporter/TLKImp.cpp,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** TLKImp.cpp 23 Oct 2006 09:48:24 -0000 1.59 --- TLKImp.cpp 31 Jan 2007 21:20:32 -0000 1.60 *************** *** 373,377 **** } else { if (source[i] == '[') { ! char* tmppoi = strchr( source + i + 1, ']' ); if (tmppoi) i = (int) (tmppoi - source); --- 373,377 ---- } else { if (source[i] == '[') { ! const char* tmppoi = strchr( source + i + 1, ']' ); if (tmppoi) i = (int) (tmppoi - source); *************** *** 411,415 **** //voice actor directives lChange = true; ! char* tmppoi = strchr( string + i + 1, ']' ); if (tmppoi) i += (int) (tmppoi - string) - i; --- 411,415 ---- //voice actor directives lChange = true; ! const char* tmppoi = strchr( string + i + 1, ']' ); if (tmppoi) i += (int) (tmppoi - string) - i; |