From a3f0a45c0f80b34310fffcce339d151365845c61 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 16 Oct 2009 19:14:46 +0000 Subject: Make next_screen static and add a comment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23210 a1c6a512-1295-4272-9138-f99709370657 --- apps/root_menu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 { 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) -- cgit v1.2.3