diff options
| author | Antoine Cellerier <dionoea@videolan.org> | 2006-07-27 21:23:55 +0000 |
|---|---|---|
| committer | Antoine Cellerier <dionoea@videolan.org> | 2006-07-27 21:23:55 +0000 |
| commit | 821a6c9169de5bc11a9f34c66946d1efa89fd655 (patch) | |
| tree | caab22e7a2f5acc0582b8137e89401e1c9e09f45 /apps | |
| parent | c577ec6790605af78d4d6f5dab0f484ee1d64e36 (diff) | |
| download | rockbox-821a6c9169de5bc11a9f34c66946d1efa89fd655.zip rockbox-821a6c9169de5bc11a9f34c66946d1efa89fd655.tar.gz rockbox-821a6c9169de5bc11a9f34c66946d1efa89fd655.tar.bz2 rockbox-821a6c9169de5bc11a9f34c66946d1efa89fd655.tar.xz | |
Thou shall always test compilation before commiting. (fixes b&w LCD targets)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10343 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugins/star.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c index c844549..2cb3808 100644 --- a/apps/plugins/star.c +++ b/apps/plugins/star.c @@ -920,19 +920,27 @@ static int star_menu(void) case STAR_UP: if (menu_y > 0) { move_y = -1; +#if LCD_DEPTH > 1 int oldforeground = rb->lcd_get_foreground(); rb->lcd_set_foreground(LCD_BLACK); +#endif rb->lcd_fillrect(0, menu_offset_y + char_height * menu_y - 2, 15, char_height + 3); +#if LCD_DEPTH > 1 rb->lcd_set_foreground(oldforeground); +#endif } break; case STAR_DOWN: if (menu_y < 3) { move_y = 1; +#if LCD_DEPTH > 1 int oldforeground = rb->lcd_get_foreground(); rb->lcd_set_foreground(LCD_BLACK); +#endif rb->lcd_fillrect(0, menu_offset_y + char_height * menu_y - 1, 15, char_height + 2); +#if LCD_DEPTH > 1 rb->lcd_set_foreground(oldforeground); +#endif } break; |