Make space for three characters after a strlcpy call

This commit is contained in:
pstef 2025-04-09 16:02:05 +00:00
parent 187673fb2a
commit 4d6c012009
1 changed files with 1 additions and 1 deletions

View File

@ -1826,7 +1826,7 @@ static int action_bind_sublabel_netplay_kick_client(file_list_t *list,
if (status)
{
size_t _len = strlcpy(buf, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_STATUS),
sizeof(buf));
sizeof(buf) - 3);
buf[ _len] = ':';
buf[++_len] = ' ';
buf[++_len] = '\0';