forked from len0rd/rockbox
Fix some tiny bugs in the help screen from solitaire and star
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22071 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
527b069653
commit
8ef07c8a2f
2 changed files with 29 additions and 7 deletions
|
@ -1002,7 +1002,10 @@ static bool star_help(void)
|
|||
{ 35, C_RED },
|
||||
{ -1, 0 }
|
||||
};
|
||||
|
||||
#ifndef HAVE_LCD_COLOR
|
||||
rb->lcd_set_background(LCD_WHITE );
|
||||
rb->lcd_set_foreground(LCD_BLACK );
|
||||
#endif
|
||||
if (display_text(WORDS, help_text, formation, NULL))
|
||||
return true;
|
||||
do {
|
||||
|
@ -1012,6 +1015,10 @@ static bool star_help(void)
|
|||
} while( ( button == BUTTON_NONE )
|
||||
|| ( button & (BUTTON_REL|BUTTON_REPEAT) ) );
|
||||
|
||||
#ifndef HAVE_LCD_COLOR
|
||||
rb->lcd_set_background(LCD_BLACK );
|
||||
rb->lcd_set_foreground(LCD_WHITE );
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue