Merge pull request #1369 from lakkatv/xmb

(XMB) Better test to know when to apply path_basename on the node name
This commit is contained in:
Twinaphex 2015-01-28 22:23:53 +01:00
commit 624dc5d59c

View File

@ -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;