diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-06-23 08:12:19 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-06-23 08:12:19 +0000 |
commit | 986675dfd5436caf71c5e250665be8738900cf4e (patch) | |
tree | 8e8fac8767628b79059860fba9c09525b3ce9ba1 /apps | |
parent | d79b1f5845ed2aefbdc5dc890e89ec443211b20a (diff) |
For non-numeric values, write explainations into the .cfg file. Also fixed a default value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4800 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c index 7fd5ee96f5..17122ecd84 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -249,7 +249,7 @@ static struct bit_entry hd_bits[] = /* more playback */ {1, S_O(play_selected), true, "play selected", off_on }, {1, S_O(fade_on_stop), true, "volume fade", off_on }, - {4, S_O(ff_rewind_min_step), 1000, + {4, S_O(ff_rewind_min_step), FF_REWIND_1000, "scan min step", "1,2,3,4,5,6,8,10,15,20,25,30,45,60" }, {4, S_O(ff_rewind_accel), 3, "scan accel", NULL }, {3, S_O(buffer_margin), 0, "antiskip", NULL }, @@ -1109,6 +1109,8 @@ static void save_cfg_table(const struct bit_entry* p_table, int count, int fd) } fprintf(fd, "\r\n"); + if (p_run->cfg_val != off_on) /* explaination for non-bool */ + fprintf(fd, "# (possible values: %s)\r\n", p_run->cfg_val); } } } |