diff options
author | Johannes Schwarz <ubuntuxer@rockbox.org> | 2009-07-27 17:15:53 +0000 |
---|---|---|
committer | Johannes Schwarz <ubuntuxer@rockbox.org> | 2009-07-27 17:15:53 +0000 |
commit | 0e83c80bfc6027de854a89f13b83cc5a55a05308 (patch) | |
tree | 4365aa144b985ed9d19551ceab04862510c13efa /apps/plugins/star.c | |
parent | 86ef57b9757c7cc23951040c5c46966728eeb8fa (diff) | |
download | rockbox-0e83c80bfc6027de854a89f13b83cc5a55a05308.tar.gz 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.c | 5 |
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) | |||
1002 | { 35, C_RED }, | 1002 | { 35, C_RED }, |
1003 | { -1, 0 } | 1003 | { -1, 0 } |
1004 | }; | 1004 | }; |
1005 | #if LCD_DEPTH > 1 | ||
1005 | #ifndef HAVE_LCD_COLOR | 1006 | #ifndef HAVE_LCD_COLOR |
1006 | rb->lcd_set_background(LCD_WHITE ); | 1007 | rb->lcd_set_background(LCD_WHITE ); |
1007 | rb->lcd_set_foreground(LCD_BLACK ); | 1008 | rb->lcd_set_foreground(LCD_BLACK ); |
1008 | #endif | 1009 | #endif |
1010 | #endif | ||
1009 | if (display_text(WORDS, help_text, formation, NULL)) | 1011 | if (display_text(WORDS, help_text, formation, NULL)) |
1010 | return true; | 1012 | return true; |
1011 | do { | 1013 | do { |
@@ -1014,11 +1016,12 @@ static bool star_help(void) | |||
1014 | return true; | 1016 | return true; |
1015 | } while( ( button == BUTTON_NONE ) | 1017 | } while( ( button == BUTTON_NONE ) |
1016 | || ( button & (BUTTON_REL|BUTTON_REPEAT) ) ); | 1018 | || ( button & (BUTTON_REL|BUTTON_REPEAT) ) ); |
1017 | 1019 | #if LCD_DEPTH > 1 | |
1018 | #ifndef HAVE_LCD_COLOR | 1020 | #ifndef HAVE_LCD_COLOR |
1019 | rb->lcd_set_background(LCD_BLACK ); | 1021 | rb->lcd_set_background(LCD_BLACK ); |
1020 | rb->lcd_set_foreground(LCD_WHITE ); | 1022 | rb->lcd_set_foreground(LCD_WHITE ); |
1021 | #endif | 1023 | #endif |
1024 | #endif | ||
1022 | return false; | 1025 | return false; |
1023 | } | 1026 | } |
1024 | 1027 | ||