From 80cb3551eb61cdf240cf24ad0c44016475bf2e61 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 1 Feb 2009 11:34:16 +0000 Subject: Statusbar handling fixes. Fixes FS#9845 - %we/%wd wasnt working WPS no longer resets the viewportmanger more than needed (was doing it twice/draw before) screens can now enable/disable the statusbar easily ignoring the setting instead of needing special handling (fix for the radio screen coming soon) minor glitch introduced in this commit... the statusbar in the WPS might disappear for a fraction of a second when it is entered, I need to track this down... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19894 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/debug_menu.c') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 60f4761..d8fe49e 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -2739,7 +2739,7 @@ static int menu_action_callback(int btn, struct gui_synclist *lists) { if (btn == ACTION_STD_OK) { - bool oldbars = viewportmanager_set_statusbar(false); + char oldbars = viewportmanager_set_statusbar(0); menuitems[gui_synclist_get_sel_pos(lists)].function(); btn = ACTION_REDRAW; viewportmanager_set_statusbar(oldbars); -- cgit v1.1