summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-01-18 17:06:29 +0000
committerJens Arnold <amiconn@rockbox.org>2009-01-18 17:06:29 +0000
commitda367f4bd4e910d74c04487c84daa8b5e70e0016 (patch)
treecbd83359f688936b74b34014dacc92e1c6015bac /apps/plugins
parent1c44a9f4316e93b3648352943fe21bd00bd450fd (diff)
Fix TYPE_BOOL settings format string. Boolean settings should really use 'on'/'off', but this is currently impossible due to the fixed field width requirement introduced in r15052.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19790 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lib/configfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lib/configfile.c b/apps/plugins/lib/configfile.c
index 063efdde2e..5e1e776f39 100644
--- a/apps/plugins/lib/configfile.c
+++ b/apps/plugins/lib/configfile.c
@@ -63,7 +63,7 @@ int configfile_save(const char *filename, struct configdata *cfg,
break;
case TYPE_BOOL:
- rb->fdprintf(fd, "%s: 10%d\n",
+ rb->fdprintf(fd, "%s: %10d\n",
cfg[i].name,
(int)*cfg[i].bool_p);
break;