Fixed amb726 for StrCat.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401260
This commit is contained in:
Phong Dang 2007-08-02 23:11:07 +00:00
parent e41d798f7a
commit 8d1cb3d579

View File

@ -397,7 +397,7 @@ stock CharToLower(chr)
*/
stock StrCat(String:buffer[], maxlength, const String:source[])
{
new len = strlen(source);
new len = strlen(buffer);
if (len >= maxlength)
{
return 0;