From 61f5dd623d3034c8004f8b0850f2b2458cc0a2d1 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sat, 7 Jun 2008 09:35:57 +0000 Subject: fix red and pointer screwup git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17701 a1c6a512-1295-4272-9138-f99709370657 --- apps/misc.c | 2 +- apps/misc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/misc.c b/apps/misc.c index bca66dcb54..9df6637656 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -1263,7 +1263,7 @@ const char* parse_list(const char *fmt, uint32_t *set_vals, *s = p; while (*p && *p != sep) p++; - set = (*s[0]!='-') && (*s[1]!=sep) ; + set = (s[0][0]!='-') && (s[0][1]!=sep) ; break; case 'd': /* int */ diff --git a/apps/misc.h b/apps/misc.h index 8394a6396a..6c216f4e38 100644 --- a/apps/misc.h +++ b/apps/misc.h @@ -20,7 +20,7 @@ #define MISC_H #include - +#include /* Format a large-range value for output, using the appropriate unit so that * the displayed value is in the range 1 <= display < 1000 (1024 for "binary" * units) if possible, and 3 significant digits are shown. If a buffer is -- cgit v1.2.3