summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2010-12-15 18:14:13 +0000
committerAlexander Levin <al.le@rockbox.org>2010-12-15 18:14:13 +0000
commit794bda72cf146ad06d7f8480c7b7591219a1197d (patch)
tree8b9b29508a9df35979ce6ce0af3babe506609a38 /apps
parente6b4d8fdee81cd79c9c02542cb69be21fd57d56e (diff)
downloadrockbox-794bda72cf146ad06d7f8480c7b7591219a1197d.zip
rockbox-794bda72cf146ad06d7f8480c7b7591219a1197d.tar.gz
rockbox-794bda72cf146ad06d7f8480c7b7591219a1197d.tar.bz2
rockbox-794bda72cf146ad06d7f8480c7b7591219a1197d.tar.xz
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
Diffstat (limited to 'apps')
-rw-r--r--apps/playlist_catalog.c2
-rw-r--r--apps/tree.c2
-rw-r--r--apps/tree.h6
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c
index 97de1c4..dffc167 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 9005f0c..d87a93e 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 658c1a6..7275c9a 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;