Fix max length inconsistencies + typo
This commit is contained in:
@ -945,7 +945,7 @@ static cell AMX_NATIVE_CALL traceresult(AMX *amx, cell *params)
|
||||
// (jghg)
|
||||
static cell AMX_NATIVE_CALL get_string(AMX *amx, cell *params) // (string, returnstring[], length)
|
||||
{
|
||||
ke::SafeSprintf(g_buffer, sizeof(g_buffer)-1, "%s", STRING(params[1]));
|
||||
ke::SafeSprintf(g_buffer, sizeof(g_buffer), "%s", STRING(params[1]));
|
||||
return MF_SetAmxString(amx, params[2], g_buffer, params[3]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user