From 1392eebfa0465fde8907bf9e7c99d05137b854ea Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 11 Apr 2021 17:48:44 +0200 Subject: [PATCH] Use path_basename_nocompression some more --- menu/cbs/menu_cbs_title.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu/cbs/menu_cbs_title.c b/menu/cbs/menu_cbs_title.c index 551bfc4286..8f507e6057 100644 --- a/menu/cbs/menu_cbs_title.c +++ b/menu/cbs/menu_cbs_title.c @@ -343,7 +343,7 @@ static int action_get_title_deferred_playlist_list(const char *path, const char if (string_is_empty(path)) return 0; - playlist_file = path_basename(path); + playlist_file = path_basename_nocompression(path); if (string_is_empty(playlist_file)) return 0; @@ -404,7 +404,7 @@ static int action_get_title_deferred_core_backup_list( else { /* If not, use core file name */ - const char *core_filename = path_basename(core_path); + const char *core_filename = path_basename_nocompression(core_path); if (!string_is_empty(core_filename)) strlcat(s, core_filename, len);