summaryrefslogtreecommitdiffstats
path: root/apps/menu.c
diff options
context:
space:
mode:
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];