summaryrefslogtreecommitdiffstats
path: root/apps/bookmark.c
diff options
context:
space:
mode:
authorHenrik Backe <henrik@backe.eu>2004-04-21 19:06:48 +0000
committerHenrik Backe <henrik@backe.eu>2004-04-21 19:06:48 +0000
commit215300d51101077a51b4f14f454c595c049c3eb6 (patch)
treeffef792bb504c9491b9c4168458fefca8b9ac7d8 /apps/bookmark.c
parent1aa9cdad204d14dabed487ba1429d9e5f0aa5d2a (diff)
downloadrockbox-215300d51101077a51b4f14f454c595c049c3eb6.tar.gz
rockbox-215300d51101077a51b4f14f454c595c049c3eb6.tar.bz2
rockbox-215300d51101077a51b4f14f454c595c049c3eb6.zip
Another lcd_setmargin fix for bookmark select.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4539 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/bookmark.c')
-rw-r--r--apps/bookmark.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c
index 13a9cdc823..0c12026816 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -680,6 +680,12 @@ static char* select_bookmark(char* bookmark_file_name)
{
case BUTTON_PLAY:
/* User wants to use this bookmark */
+#ifdef HAVE_LCD_BITMAP
+ if (global_settings.statusbar)
+ lcd_setmargins(0, STATUSBAR_HEIGHT);
+ else
+ lcd_setmargins(0, 0);
+#endif
return bookmark;
case BUTTON_ON | BUTTON_PLAY: