mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Use pathname_short representation in menu_entries.c to allow for correct viewing of compressed paths in history list
This commit is contained in:
parent
aeb849b109
commit
8d3e89cc7e
@ -272,11 +272,9 @@ int menu_entries_push_list(menu_handle_t *menu,
|
||||
if (path)
|
||||
{
|
||||
char path_short[PATH_MAX];
|
||||
fill_pathname(path_short, path_basename(path), "",
|
||||
sizeof(path_short));
|
||||
|
||||
snprintf(fill_buf, sizeof(fill_buf), "%s (%s)",
|
||||
path_short, core_name);
|
||||
fill_short_pathname_representation(path_short,path,sizeof(path_short));
|
||||
snprintf(fill_buf,sizeof(fill_buf),"%s (%s)",
|
||||
path_short,core_name);
|
||||
}
|
||||
|
||||
file_list_push(list, fill_buf, "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user