forked from len0rd/rockbox
Fix FS#11526 - %Vf(<hex>) was acceptable on grey remotes with colour main
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27768 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a547fc1b35
commit
489962dc4e
4 changed files with 29 additions and 13 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#include <inttypes.h>
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "screen_access.h"
|
||||
|
||||
extern const unsigned char * const byte_units[];
|
||||
extern const unsigned char * const * const kbyte_units;
|
||||
|
|
@ -92,7 +93,7 @@ char* skip_whitespace(char* const str);
|
|||
char *strip_extension(char* buffer, int buffer_size, const char *filename);
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
bool parse_color(char *text, int *value);
|
||||
bool parse_color(enum screen_type screen, char *text, int *value);
|
||||
|
||||
/* only used in USB HID and set_time screen */
|
||||
#if defined(USB_ENABLE_HID) || (CONFIG_RTC != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue