summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2007-02-17 23:01:58 +0000
committerAntoine Cellerier <dionoea@videolan.org>2007-02-17 23:01:58 +0000
commit742f6bc1559ed8e707d101f3be665ce88af2f74f (patch)
tree68632e7c7a198b5efa099652e472f4627166104b /apps
parentfa2d49a5b932e957b94e9ec32aae1445044e8406 (diff)
downloadrockbox-742f6bc1559ed8e707d101f3be665ce88af2f74f.tar.gz
rockbox-742f6bc1559ed8e707d101f3be665ce88af2f74f.tar.bz2
rockbox-742f6bc1559ed8e707d101f3be665ce88af2f74f.zip
Fix bug (first line was displayed under the status bar)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12364 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/screens.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/screens.c b/apps/screens.c
index 29b6f1dd76..b5e22fded5 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -1318,13 +1318,18 @@ bool view_runtime(void)
#if defined(HAVE_LCD_BITMAP)
FOR_NB_SCREENS(i)
- screens[i].setmargins(0, 0);
+ {
+ if(global_settings.statusbar)
+ screens[i].setmargins(0, STATUSBAR_HEIGHT);
+ else
+ screens[i].setmargins(0, 0);
+ }
#endif
while(!done)
{
int y[NB_SCREENS]={0};
int t;
-
+
FOR_NB_SCREENS(i)
{
screens[i].clear_display();