summaryrefslogtreecommitdiffstats
path: root/apps/menus/display_menu.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-04-20 05:53:07 +0000
committerJens Arnold <amiconn@rockbox.org>2007-04-20 05:53:07 +0000
commit5a795366973c848f5c34f7f13743539a0873421e (patch)
tree1c26842610347eb64c4e7bc1bdfe75b58dfeee01 /apps/menus/display_menu.c
parent2fd7c3c8285c9e03516b5069a35dada6a7154f77 (diff)
downloadrockbox-5a795366973c848f5c34f7f13743539a0873421e.tar.gz
rockbox-5a795366973c848f5c34f7f13743539a0873421e.tar.bz2
rockbox-5a795366973c848f5c34f7f13743539a0873421e.zip
Changing colours didn't save settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13212 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r--apps/menus/display_menu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index 660c68e996..9f6b2be624 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -141,6 +141,7 @@ static int set_fg_color(void)
&global_settings.fg_color,global_settings.bg_color);
screens[SCREEN_MAIN].set_foreground(global_settings.fg_color);
+ settings_save();
return res;
}
@@ -151,6 +152,7 @@ static int set_bg_color(void)
&global_settings.bg_color,global_settings.fg_color);
screens[SCREEN_MAIN].set_background(global_settings.bg_color);
+ settings_save();
return res;
}
static int reset_color(void)
@@ -160,6 +162,7 @@ static int reset_color(void)
screens[SCREEN_MAIN].set_foreground(global_settings.fg_color);
screens[SCREEN_MAIN].set_background(global_settings.bg_color);
+ settings_save();
return 0;
}
MENUITEM_FUNCTION(set_bg_col, 0, ID2P(LANG_BACKGROUND_COLOR),