diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c index 97de1c4bbc..dffc1671da 100644 --- a/apps/playlist_catalog.c +++ b/apps/playlist_catalog.c @@ -119,7 +119,7 @@ static int display_playlists(char* playlist, bool view) int result = -1; browse_context_init(&browse, SHOW_M3U, - BROWSE_SELECTONLY|(view? 0: BROWSE_NO_CONTEXT), + BROWSE_SELECTONLY|(view? 0: BROWSE_NO_CONTEXT_MENU), str(LANG_CATALOG), NOICON, playlist_dir, most_recent_playlist); diff --git a/apps/tree.c b/apps/tree.c index 9005f0c592..d87a93e2a0 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -783,7 +783,7 @@ static int dirbrowse(void) int onplay_result; int attr = 0; - if (tc.browse->flags & BROWSE_NO_CONTEXT) + if (tc.browse->flags & BROWSE_NO_CONTEXT_MENU) break; if(!numentries) diff --git a/apps/tree.h b/apps/tree.h index 658c1a69d9..7275c9ae94 100644 --- a/apps/tree.h +++ b/apps/tree.h @@ -33,9 +33,9 @@ struct entry { }; -#define BROWSE_SELECTONLY 0x0001 /* exit on selecting a file */ -#define BROWSE_NO_CONTEXT 0x0002 /* disable context menu */ -#define BROWSE_SELECTED 0x0100 /* this bit is set if user selected item */ +#define BROWSE_SELECTONLY 0x0001 /* exit on selecting a file */ +#define BROWSE_NO_CONTEXT_MENU 0x0002 /* disable context menu */ +#define BROWSE_SELECTED 0x0100 /* this bit is set if user selected item */ struct tree_context;