summaryrefslogtreecommitdiffstats
path: root/apps/misc.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-08-10 14:15:03 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-08-10 14:15:03 +0000
commit489962dc4e34cc89c2bf9d124feb74954eb92c68 (patch)
treeef53892652379e43dde6dd013a2ad5081a718d25 /apps/misc.h
parenta547fc1b351f98f620ba61e240ebbf0729727e1c (diff)
downloadrockbox-489962dc4e34cc89c2bf9d124feb74954eb92c68.tar.gz
rockbox-489962dc4e34cc89c2bf9d124feb74954eb92c68.tar.bz2
rockbox-489962dc4e34cc89c2bf9d124feb74954eb92c68.zip
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
Diffstat (limited to 'apps/misc.h')
-rw-r--r--apps/misc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/misc.h b/apps/misc.h
index 0de68a001c..fa66956800 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -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)