diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-10-16 19:14:46 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-10-16 19:14:46 +0000 |
commit | a3f0a45c0f80b34310fffcce339d151365845c61 (patch) | |
tree | 19c9b08605d7b3a452ce0a1a447e2491dbc0acd0 /apps | |
parent | e9c10189e93fe53cff74ae8fa15d19b1c522d5e4 (diff) | |
download | rockbox-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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/root_menu.c | 5 |
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 | }; |
73 | static 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 */ | ||
73 | static int last_screen = GO_TO_ROOT; /* unfortunatly needed so we can resume | 77 | static 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 | ||
77 | int next_screen = GO_TO_ROOT; | ||
78 | 81 | ||
79 | static char current_track_path[MAX_PATH]; | 82 | static char current_track_path[MAX_PATH]; |
80 | static void rootmenu_track_changed_callback(void* param) | 83 | static void rootmenu_track_changed_callback(void* param) |