diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-02-01 11:34:16 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-02-01 11:34:16 +0000 |
| commit | 80cb3551eb61cdf240cf24ad0c44016475bf2e61 (patch) | |
| tree | e9c72c90954b73807d64df59fefcdf0b1c1fc615 /apps/plugin.c | |
| parent | e55f2329c059434452c62af48903b4607e500e4e (diff) | |
| download | rockbox-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/plugin.c')
| -rw-r--r-- | apps/plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 98bbd29..95dec9d 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -636,7 +636,7 @@ static const struct plugin_api rockbox_api = { int plugin_load(const char* plugin, const void* parameter) { int rc; - bool oldbars; + char oldbars; struct plugin_header *hdr; #ifdef SIMULATOR void *pd; @@ -743,11 +743,11 @@ int plugin_load(const char* plugin, const void* parameter) #endif invalidate_icache(); - oldbars = viewportmanager_set_statusbar(false); + oldbars = viewportmanager_set_statusbar(0); rc = hdr->entry_point(parameter); - viewportmanager_set_statusbar(true); + viewportmanager_set_statusbar(oldbars); button_clear_queue(); |