mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 00:40:09 +00:00
fix construction of badge path (#14712)
This commit is contained in:
parent
fc24410763
commit
c2f50a83bf
@ -1509,7 +1509,7 @@ static bool rcheevos_client_fetch_badge(
|
||||
strlcpy(badge_fullpath,
|
||||
state->badge_directory, sizeof(badge_fullpath));
|
||||
fill_pathname_slash(badge_fullpath, sizeof(badge_fullpath));
|
||||
badge_fullname = badge_fullpath + strlen(state->badge_directory);
|
||||
badge_fullname = badge_fullpath + strlen(badge_fullpath);
|
||||
badge_fullname_size = sizeof(badge_fullpath) -
|
||||
(badge_fullname - badge_fullpath);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user