Fix wrong text colour in help, adapt pegbox manual to r21867

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22016 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Johannes Schwarz 2009-07-23 17:45:33 +00:00
parent 06d51630c1
commit 0d9b7ec73e
5 changed files with 17 additions and 10 deletions

View file

@ -604,13 +604,16 @@ static bool spacerocks_help(void)
};
static struct style_text formation[]={
{ 0, TEXT_CENTER|TEXT_UNDERLINE },
{ 2, C_RED }
{ 2, C_RED },
{ -1, 0 }
};
#ifdef HAVE_LCD_COLOR
rb->lcd_set_background(LCD_BLACK);
rb->lcd_set_foreground(LCD_WHITE);
#endif
int button;
if (display_text(WORDS, help_text, formation, NULL)==PLUGIN_USB_CONNECTED)
return true;
do {
button = rb->button_get(true);
if (button == SYS_USB_CONNECTED) {