Restore lcd margins after selecting bookmark

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4464 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Henrik Backe 2004-04-04 16:44:40 +00:00
parent f9495cba65
commit dd264a8c42

View file

@ -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: