Skip to content

Commit 30b3760

Browse files
committed
(menu_explore.c) Don't use fill_pathname here, go back to old code
1 parent 94dce40 commit 30b3760

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

menu/menu_explore.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,10 +426,10 @@ static void explore_load_icons(explore_state_t *state)
426426
{
427427
struct texture_image ti;
428428
size_t __len = _len;
429-
__len += fill_pathname(path + _len,
429+
__len += strlcpy(path + _len,
430430
state->by[EXPLORE_BY_SYSTEM][i]->str,
431-
".png",
432431
sizeof(path) - _len);
432+
strlcpy(path + __len, ".png", sizeof(path) - __len);
433433
if (!path_is_valid(path))
434434
continue;
435435

0 commit comments

Comments
 (0)