summaryrefslogtreecommitdiffstats
path: root/apps/bookmark.c
diff options
context:
space:
mode:
authorHenrik Backe <henrik@backe.eu>2004-04-04 16:44:40 +0000
committerHenrik Backe <henrik@backe.eu>2004-04-04 16:44:40 +0000
commitdd264a8c42f1fbe37774d9c13c744a92ea99ce70 (patch)
treee8117e6642a39d44e8c93d5e5f0bcdbe31e60e27 /apps/bookmark.c
parentf9495cba65c108ac99759cf3a0b978c0a58c9233 (diff)
downloadrockbox-dd264a8c42f1fbe37774d9c13c744a92ea99ce70.tar.gz
rockbox-dd264a8c42f1fbe37774d9c13c744a92ea99ce70.tar.bz2
rockbox-dd264a8c42f1fbe37774d9c13c744a92ea99ce70.zip
Restore lcd margins after selecting bookmark
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4464 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 e62448c64a..d1e14d93c5 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -704,6 +704,12 @@ static char* select_bookmark(char* bookmark_file_name)
case BUTTON_LEFT:
case BUTTON_OFF:
+#ifdef HAVE_LCD_BITMAP
+ if (global_settings.statusbar)
+ lcd_setmargins(0, STATUSBAR_HEIGHT);
+ else
+ lcd_setmargins(0, 0);
+#endif
return NULL;
#else
case BUTTON_LEFT: