summaryrefslogtreecommitdiffstats
path: root/apps/plugins/star.c
diff options
context:
space:
mode:
authorJohannes Schwarz <ubuntuxer@rockbox.org>2009-07-27 17:15:53 +0000
committerJohannes Schwarz <ubuntuxer@rockbox.org>2009-07-27 17:15:53 +0000
commit0e83c80bfc6027de854a89f13b83cc5a55a05308 (patch)
tree4365aa144b985ed9d19551ceab04862510c13efa /apps/plugins/star.c
parent86ef57b9757c7cc23951040c5c46966728eeb8fa (diff)
downloadrockbox-0e83c80bfc6027de854a89f13b83cc5a55a05308.tar.gz
rockbox-0e83c80bfc6027de854a89f13b83cc5a55a05308.tar.bz2
rockbox-0e83c80bfc6027de854a89f13b83cc5a55a05308.zip
Upps, fix to r22071
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22073 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/star.c')
-rw-r--r--apps/plugins/star.c5
1 files changed, 4 insertions, 1 deletions
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,10 +1002,12 @@ 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;
do {
@@ -1014,11 +1016,12 @@ 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;
}