From 2e8154a7dd12e21ab47e718b8fcc6141e0b600a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Wed, 28 Jan 2015 22:06:42 +0100 Subject: [PATCH] (XMB) Better test to know when to apply path_basename on the node name --- menu/drivers/xmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 16a98e41c6..bfe620e278 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -886,7 +886,7 @@ static void xmb_draw_items(file_list_t *list, file_list_t *stack, entry_label, path, path_buf, sizeof(path_buf)); - if (xmb->active_category && xmb->depth == 1) + if (type == MENU_FILE_CONTENTLIST_ENTRY) strlcpy(path_buf, path_basename(path_buf), sizeof(path_buf)); GLuint icon = 0;