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 | |
| parent | 86ef57b9757c7cc23951040c5c46966728eeb8fa (diff) | |
| download | rockbox-0e83c80bfc6027de854a89f13b83cc5a55a05308.zip rockbox-0e83c80bfc6027de854a89f13b83cc5a55a05308.tar.gz rockbox-0e83c80bfc6027de854a89f13b83cc5a55a05308.tar.bz2 rockbox-0e83c80bfc6027de854a89f13b83cc5a55a05308.tar.xz | |
Upps, fix to r22071
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22073 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -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 0ed902d..3b128d0 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; } |