From 0e83c80bfc6027de854a89f13b83cc5a55a05308 Mon Sep 17 00:00:00 2001 From: Johannes Schwarz Date: Mon, 27 Jul 2009 17:15:53 +0000 Subject: Upps, fix to r22071 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22073 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/star.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/plugins') diff --git a/apps/plugins/star.c b/apps/plugins/star.c index 0ed902dedb..3b128d06ef 100644 --- a/apps/plugins/star.c +++ b/apps/plugins/star.c @@ -1002,9 +1002,11 @@ static bool star_help(void) { 35, C_RED }, { -1, 0 } }; +#if LCD_DEPTH > 1 #ifndef HAVE_LCD_COLOR rb->lcd_set_background(LCD_WHITE ); rb->lcd_set_foreground(LCD_BLACK ); +#endif #endif if (display_text(WORDS, help_text, formation, NULL)) return true; @@ -1014,10 +1016,11 @@ static bool star_help(void) return true; } while( ( button == BUTTON_NONE ) || ( button & (BUTTON_REL|BUTTON_REPEAT) ) ); - +#if LCD_DEPTH > 1 #ifndef HAVE_LCD_COLOR rb->lcd_set_background(LCD_BLACK ); rb->lcd_set_foreground(LCD_WHITE ); +#endif #endif return false; } -- cgit v1.2.3