(Android) Fix build

This commit is contained in:
twinaphex 2020-08-03 00:51:29 +02:00
parent 85e5c783af
commit 5105216380

View File

@ -1009,8 +1009,8 @@ unsigned menu_displaylist_explore(file_list_t *list)
if (stack_top[i].type == cat + EXPLORE_TYPE_FIRSTCATEGORY)
goto SKIP_EXPLORE_BY_CATEGORY;
tmplen = snprintf(tmp, sizeof(tmp),
msg_hash_to_str(explore_by_info[cat].by_enum));
tmplen = strlcpy(tmp,
msg_hash_to_str(explore_by_info[cat].by_enum), sizeof(tmp));
if (is_top && tmplen >= 0 && tmplen < sizeof(tmp) - 5)
{