fix red and pointer screwup

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17701 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2008-06-07 09:35:57 +00:00
parent 1688867244
commit 61f5dd623d
2 changed files with 2 additions and 2 deletions

View file

@ -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 */

View file

@ -20,7 +20,7 @@
#define MISC_H
#include <stdbool.h>
#include <inttypes.h>
/* 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