summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-02-01 11:34:16 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-02-01 11:34:16 +0000
commit80cb3551eb61cdf240cf24ad0c44016475bf2e61 (patch)
treee9c72c90954b73807d64df59fefcdf0b1c1fc615 /apps/debug_menu.c
parente55f2329c059434452c62af48903b4607e500e4e (diff)
downloadrockbox-80cb3551eb61cdf240cf24ad0c44016475bf2e61.zip
rockbox-80cb3551eb61cdf240cf24ad0c44016475bf2e61.tar.gz
rockbox-80cb3551eb61cdf240cf24ad0c44016475bf2e61.tar.bz2
rockbox-80cb3551eb61cdf240cf24ad0c44016475bf2e61.tar.xz
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
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c2
1 files changed, 1 insertions, 1 deletions
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);