Fixed amb726 for StrCat.
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401260
This commit is contained in:
parent
e41d798f7a
commit
8d1cb3d579
@ -397,7 +397,7 @@ stock CharToLower(chr)
|
|||||||
*/
|
*/
|
||||||
stock StrCat(String:buffer[], maxlength, const String:source[])
|
stock StrCat(String:buffer[], maxlength, const String:source[])
|
||||||
{
|
{
|
||||||
new len = strlen(source);
|
new len = strlen(buffer);
|
||||||
if (len >= maxlength)
|
if (len >= maxlength)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user