Turn these two fill_pathname_join_delim() calls into plain strlcat()

This commit is contained in:
LibretroAdmin 2022-08-04 15:15:27 +02:00
parent b2634ea588
commit 6ad88b080e
2 changed files with 2 additions and 5 deletions

View File

@ -4515,8 +4515,7 @@ static void ozone_context_reset_horizontal_list(ozone_handle_t *ozone)
image_texture_free(&ti);
}
fill_pathname_join_delim(sysname, sysname,
"content.png", '-', sizeof(sysname));
strlcat(sysname, "-content.png", sizeof(sysname));
fill_pathname_join_special(content_texturepath, ozone->icons_path, sysname,
sizeof(content_texturepath));

View File

@ -2347,9 +2347,7 @@ static void xmb_context_reset_horizontal_list(
image_texture_free(&ti);
}
fill_pathname_join_delim(sysname, sysname,
FILE_PATH_CONTENT_BASENAME, '-',
sizeof(sysname));
strlcat(sysname, "-content.png", sizeof(sysname));
fill_pathname_join_special(content_texturepath, iconpath, sysname,
sizeof(content_texturepath));