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/root_menu.c | |
| parent | e9c10189e93fe53cff74ae8fa15d19b1c522d5e4 (diff) | |
| download | rockbox-a3f0a45c0f80b34310fffcce339d151365845c61.zip rockbox-a3f0a45c0f80b34310fffcce339d151365845c61.tar.gz rockbox-a3f0a45c0f80b34310fffcce339d151365845c61.tar.bz2 rockbox-a3f0a45c0f80b34310fffcce339d151365845c61.tar.xz | |
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/root_menu.c')
| -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 302e889..3ca4510 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c @@ -70,11 +70,14 @@ struct root_items { void* param; const struct menu_item_ex *context_menu; }; +static int next_screen = GO_TO_ROOT; /* holding info about the upcoming screen + * which is the current screen for the + * rest of the code after load_screen + * is called */ static int last_screen = GO_TO_ROOT; /* unfortunatly needed so we can resume or goto current track based on previous screen */ -int next_screen = GO_TO_ROOT; static char current_track_path[MAX_PATH]; static void rootmenu_track_changed_callback(void* param) |