forked from len0rd/rockbox
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
This commit is contained in:
parent
1c44a9f431
commit
da367f4bd4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue