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:
parent
1688867244
commit
61f5dd623d
2 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue