summaryrefslogtreecommitdiffstats
path: root/apps/menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-02-01 13:43:08 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-02-01 13:43:08 +0000
commit036fb05dfdfb98615bf4f8841b8f8b0a1bbfb8d1 (patch)
tree406697049f3b4f1176948b5eaf9d3cb2a30dd0ff /apps/menu.c
parentee8c479dff7f4eb208901dc1da38a79cbd588414 (diff)
downloadrockbox-036fb05dfdfb98615bf4f8841b8f8b0a1bbfb8d1.tar.gz
rockbox-036fb05dfdfb98615bf4f8841b8f8b0a1bbfb8d1.tar.bz2
rockbox-036fb05dfdfb98615bf4f8841b8f8b0a1bbfb8d1.zip
Accept a quick patch from Alexander Levin to neaten up the #defines and comments from my earlier commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19897 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 2ba6cb4d35..b6d95a57d1 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -355,7 +355,8 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
const struct menu_item_ex *temp, *menu;
int ret = 0, i;
bool redraw_lists;
- char oldbars = viewportmanager_set_statusbar(hide_bars?0:VP_ALLSCREENS);
+ int oldbars = viewportmanager_set_statusbar(
+ hide_bars ? VP_SB_HIDE_ALL : VP_SB_ALLSCREENS);
const struct menu_item_ex *menu_stack[MAX_MENUS];
int menu_stack_selected_item[MAX_MENUS];