summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-10-16 19:14:46 +0000
committerThomas Martitz <kugel@rockbox.org>2009-10-16 19:14:46 +0000
commita3f0a45c0f80b34310fffcce339d151365845c61 (patch)
tree19c9b08605d7b3a452ce0a1a447e2491dbc0acd0
parente9c10189e93fe53cff74ae8fa15d19b1c522d5e4 (diff)
downloadrockbox-a3f0a45c0f80b34310fffcce339d151365845c61.tar.gz
rockbox-a3f0a45c0f80b34310fffcce339d151365845c61.zip
Make next_screen static and add a comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23210 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/root_menu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index 302e889b60..3ca4510ae4 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -70,11 +70,14 @@ struct root_items {
70 void* param; 70 void* param;
71 const struct menu_item_ex *context_menu; 71 const struct menu_item_ex *context_menu;
72}; 72};
73static int next_screen = GO_TO_ROOT; /* holding info about the upcoming screen
74 * which is the current screen for the
75 * rest of the code after load_screen
76 * is called */
73static int last_screen = GO_TO_ROOT; /* unfortunatly needed so we can resume 77static int last_screen = GO_TO_ROOT; /* unfortunatly needed so we can resume
74 or goto current track based on previous 78 or goto current track based on previous
75 screen */ 79 screen */
76 80
77int next_screen = GO_TO_ROOT;
78 81
79static char current_track_path[MAX_PATH]; 82static char current_track_path[MAX_PATH];
80static void rootmenu_track_changed_callback(void* param) 83static void rootmenu_track_changed_callback(void* param)