summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-06-07 09:35:57 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-06-07 09:35:57 +0000
commit61f5dd623d3034c8004f8b0850f2b2458cc0a2d1 (patch)
tree732afece6e327b12cb2a186d45b6ffa742534898 /apps
parent1688867244d97f38c1aff78d757afbe81bbd6d22 (diff)
downloadrockbox-61f5dd623d3034c8004f8b0850f2b2458cc0a2d1.tar.gz
rockbox-61f5dd623d3034c8004f8b0850f2b2458cc0a2d1.zip
fix red and pointer screwup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17701 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/misc.c2
-rw-r--r--apps/misc.h2
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,
1263 *s = p; 1263 *s = p;
1264 while (*p && *p != sep) 1264 while (*p && *p != sep)
1265 p++; 1265 p++;
1266 set = (*s[0]!='-') && (*s[1]!=sep) ; 1266 set = (s[0][0]!='-') && (s[0][1]!=sep) ;
1267 break; 1267 break;
1268 1268
1269 case 'd': /* int */ 1269 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 @@
20#define MISC_H 20#define MISC_H
21 21
22#include <stdbool.h> 22#include <stdbool.h>
23 23#include <inttypes.h>
24/* Format a large-range value for output, using the appropriate unit so that 24/* Format a large-range value for output, using the appropriate unit so that
25 * the displayed value is in the range 1 <= display < 1000 (1024 for "binary" 25 * the displayed value is in the range 1 <= display < 1000 (1024 for "binary"
26 * units) if possible, and 3 significant digits are shown. If a buffer is 26 * units) if possible, and 3 significant digits are shown. If a buffer is