diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-12-17 07:47:08 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-12-17 07:47:08 +0000 |
commit | 9ca03c74fb6b85c1a6a352b9961c9b11d629f542 (patch) | |
tree | fb1fb14ddbb7d6dba4667f18d41f38e3eade7320 /apps/menu.c | |
parent | 2e865286bc08a25a420355ef93994f594286f764 (diff) | |
download | rockbox-9ca03c74fb6b85c1a6a352b9961c9b11d629f542.tar.gz rockbox-9ca03c74fb6b85c1a6a352b9961c9b11d629f542.zip |
code police and make do_menu() obey the hide_bars param which was never meant to be removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24037 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r-- | apps/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c index fe5764b29c..7a4ca708dd 100644 --- a/apps/menu.c +++ b/apps/menu.c | |||
@@ -343,8 +343,8 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected, | |||
343 | const struct menu_item_ex *temp, *menu; | 343 | const struct menu_item_ex *temp, *menu; |
344 | int ret = 0, i; | 344 | int ret = 0, i; |
345 | bool redraw_lists; | 345 | bool redraw_lists; |
346 | FOR_NB_SCREENS(i) | 346 | FOR_NB_SCREENS(i) |
347 | viewportmanager_theme_enable(i, true/*!hide_bars*/, NULL); | 347 | viewportmanager_theme_enable(i, !hide_bars, NULL); |
348 | 348 | ||
349 | const struct menu_item_ex *menu_stack[MAX_MENUS]; | 349 | const struct menu_item_ex *menu_stack[MAX_MENUS]; |
350 | int menu_stack_selected_item[MAX_MENUS]; | 350 | int menu_stack_selected_item[MAX_MENUS]; |