From 1eb17dc9f4bf280d2e9503f3d0c8b8730146412d Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 5 Feb 2013 23:20:17 +1100 Subject: EQ settings: Rework the settings to clean up the config file. Instead of 3 cfg lines per eq band there is now a single line for each: : , , In addition, the config value names make a bit more sense. The old settings are still readable but config.cfg and any new settings files will be written with the new config values. (The old settings will be removed completly sometime after the next stable release). Also a slight rework of the advanced EQ menu UI Change-Id: I9008658d36ded442a5f2f825916df42a3934cbef Reviewed-on: http://gerrit.rockbox.org/394 Reviewed-by: Jonathan Gordon --- apps/settings.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/settings.c') diff --git a/apps/settings.c b/apps/settings.c index e2a6efa3d8..1bb6c74b43 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -547,6 +547,8 @@ static bool settings_write_config(const char* filename, int options) if (settings[i].cfg_name == NULL) continue; value[0] = '\0'; + if (settings[i].flags & F_DEPRECATED) + continue; switch (options) { -- cgit v1.2.3