|
From: <ha...@us...> - 2003-03-24 11:03:50
|
Update of /cvsroot/decaldev/source/Decal In directory sc8-pr-cvs1:/tmp/cvs-serv5302 Modified Files: ACHooks.cpp Log Message: buglet for timestamp Index: ACHooks.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Decal/ACHooks.cpp,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** ACHooks.cpp 24 Mar 2003 09:27:36 -0000 1.46 --- ACHooks.cpp 24 Mar 2003 11:03:47 -0000 1.47 *************** *** 896,903 **** int iOffset = 0; ! char* szTemp = new char[iStrLen+2]; memset( szTemp, 0, iStrLen+2 ); ! strncpy( szTemp, strText, sizeof( szTemp ) ); ! strncat( szTemp, "\n", sizeof( szTemp ) ); InternalRawWriteToChat( szTemp, lColor, *Addy, 0 ); --- 896,903 ---- int iOffset = 0; ! char* szTemp = new char[iStrLen + 2]; memset( szTemp, 0, iStrLen+2 ); ! strncpy( szTemp, strText, iStrLen + 2 ); ! strncat( szTemp, "\n", iStrLen + 2 ); InternalRawWriteToChat( szTemp, lColor, *Addy, 0 ); |