Rename the NO_CONTEXT flag to NO_CONTEXT_MENU so that the name more clearly conveys what the flag does
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28837 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e6b4d8fdee
commit
794bda72cf
3 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -34,7 +34,7 @@ struct entry {
|
|||
|
||||
|
||||
#define BROWSE_SELECTONLY 0x0001 /* exit on selecting a file */
|
||||
#define BROWSE_NO_CONTEXT 0x0002 /* disable context menu */
|
||||
#define BROWSE_NO_CONTEXT_MENU 0x0002 /* disable context menu */
|
||||
#define BROWSE_SELECTED 0x0100 /* this bit is set if user selected item */
|
||||
|
||||
struct tree_context;
|
||||
|
|
Loading…
Reference in a new issue