Match amx_SetString

This commit is contained in:
RD42 2024-03-12 23:16:55 +08:00
parent 1c89a11342
commit 7678b765ce

View File

@ -3731,7 +3731,7 @@ int AMXAPI amx_SetString(cell *dest,const char *source,int pack,int use_wchar,si
dest[i]=(cell)(((wchar_t*)source)[i]);
} else {
for (i=0; i<len; i++)
dest[i]=(cell)source[i];
dest[i]=(cell)(unsigned char)source[i];
} /* if */
#endif
dest[len]=0;