From 500909cf9f7ab0062512346a54d706ee9a1de909 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 11 Jun 2015 15:57:22 +0200 Subject: [PATCH] (XMB) Should now look for dynamic wallpapers without the 'lbl' extension --- menu/drivers/xmb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 7e5cd54088..6040b0dd0b 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -727,12 +727,11 @@ static void xmb_list_switch_new(xmb_handle_t *xmb, if (settings->menu.dynamic_wallpaper_enable) { char path[PATH_MAX_LENGTH]; - char *tmp = string_replace_substring(xmb->title_name, "/", " "); if (tmp) { - fill_pathname_join(path, settings->dynamic_wallpapers_directory, tmp, sizeof(path)); + fill_pathname_noext(path, settings->dynamic_wallpapers_directory, tmp, sizeof(path)); free(tmp); }