mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
Match amx_SetString
This commit is contained in:
parent
1c89a11342
commit
7678b765ce
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user