From 215300d51101077a51b4f14f454c595c049c3eb6 Mon Sep 17 00:00:00 2001 From: Henrik Backe Date: Wed, 21 Apr 2004 19:06:48 +0000 Subject: Another lcd_setmargin fix for bookmark select. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4539 a1c6a512-1295-4272-9138-f99709370657 --- apps/bookmark.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/bookmark.c') 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: -- cgit v1.2.3