Another lcd_setmargin fix for bookmark select.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4539 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Henrik Backe 2004-04-21 19:06:48 +00:00
parent 1aa9cdad20
commit 215300d511

View file

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