Skip to content

Commit

Permalink
(menu_explore.c) Don't use fill_pathname here, go back to old code
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Dec 31, 2024
1 parent 94dce40 commit 30b3760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions menu/menu_explore.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,10 +426,10 @@ static void explore_load_icons(explore_state_t *state)
{
struct texture_image ti;
size_t __len = _len;
__len += fill_pathname(path + _len,
__len += strlcpy(path + _len,
state->by[EXPLORE_BY_SYSTEM][i]->str,
".png",
sizeof(path) - _len);
strlcpy(path + __len, ".png", sizeof(path) - __len);
if (!path_is_valid(path))
continue;

Expand Down

0 comments on commit 30b3760

Please sign in to comment.