From: Laszlo T. <ave...@us...> - 2006-10-23 09:48:27
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/TLKImporter In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv19639 Modified Files: TLKImp.cpp Log Message: fixed a botched string constant for ever Index: TLKImp.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/TLKImporter/TLKImp.cpp,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** TLKImp.cpp 22 Oct 2006 12:56:01 -0000 1.58 --- TLKImp.cpp 23 Oct 2006 09:48:24 -0000 1.59 *************** *** 90,94 **** char Signature[8]; str->Read( Signature, 8 ); ! if (strncmp( Signature, "TLK V1 ", 8 ) != 0) { printf( "[TLKImporter]: Not a valid TLK File." ); return false; --- 90,94 ---- char Signature[8]; str->Read( Signature, 8 ); ! if (strncmp( Signature, "TLK\x20V1\x20\x20", 8 ) != 0) { printf( "[TLKImporter]: Not a valid TLK File." ); return false; |