forked from len0rd/rockbox
Upps, fix to r22071
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22073 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
86ef57b975
commit
0e83c80bfc
1 changed files with 4 additions and 1 deletions
|
|
@ -1002,9 +1002,11 @@ static bool star_help(void)
|
||||||
{ 35, C_RED },
|
{ 35, C_RED },
|
||||||
{ -1, 0 }
|
{ -1, 0 }
|
||||||
};
|
};
|
||||||
|
#if LCD_DEPTH > 1
|
||||||
#ifndef HAVE_LCD_COLOR
|
#ifndef HAVE_LCD_COLOR
|
||||||
rb->lcd_set_background(LCD_WHITE );
|
rb->lcd_set_background(LCD_WHITE );
|
||||||
rb->lcd_set_foreground(LCD_BLACK );
|
rb->lcd_set_foreground(LCD_BLACK );
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
if (display_text(WORDS, help_text, formation, NULL))
|
if (display_text(WORDS, help_text, formation, NULL))
|
||||||
return true;
|
return true;
|
||||||
|
|
@ -1014,10 +1016,11 @@ static bool star_help(void)
|
||||||
return true;
|
return true;
|
||||||
} while( ( button == BUTTON_NONE )
|
} while( ( button == BUTTON_NONE )
|
||||||
|| ( button & (BUTTON_REL|BUTTON_REPEAT) ) );
|
|| ( button & (BUTTON_REL|BUTTON_REPEAT) ) );
|
||||||
|
#if LCD_DEPTH > 1
|
||||||
#ifndef HAVE_LCD_COLOR
|
#ifndef HAVE_LCD_COLOR
|
||||||
rb->lcd_set_background(LCD_BLACK );
|
rb->lcd_set_background(LCD_BLACK );
|
||||||
rb->lcd_set_foreground(LCD_WHITE );
|
rb->lcd_set_foreground(LCD_WHITE );
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue