summaryrefslogtreecommitdiff
path: root/apps/menus/settings_menu.c
diff options
context:
space:
mode:
authorFred Bauer <fred.w.bauer@gmail.com>2011-11-19 23:34:26 +0000
committerFred Bauer <fred.w.bauer@gmail.com>2011-11-19 23:34:26 +0000
commitea7a89606cfaffb2ae2c843ea9868bd8c8dd16c9 (patch)
tree5ff1f18c66be4c25f32e03ffadeb6bb3cb568656 /apps/menus/settings_menu.c
parentd78e05c5722356fd8ce20cdb4c40df44cc2b4d33 (diff)
FS#12293 Global default glyph setting in System > Limits > Glyphs To Cache. Defaults to 250. This saves a lot of RAM while still allowing non-English users to have adequate glyph coverage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31031 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/settings_menu.c')
-rw-r--r--apps/menus/settings_menu.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c
index 079e86616d..4ea98efd95 100644
--- a/apps/menus/settings_menu.c
+++ b/apps/menus/settings_menu.c
@@ -221,8 +221,15 @@ MENUITEM_SETTING(poweroff, &global_settings.poweroff, NULL);
/* Limits menu */
MENUITEM_SETTING(max_files_in_dir, &global_settings.max_files_in_dir, NULL);
MENUITEM_SETTING(max_files_in_playlist, &global_settings.max_files_in_playlist, NULL);
+#ifdef HAVE_LCD_BITMAP
+MENUITEM_SETTING(default_glyphs, &global_settings.glyphs, NULL);
+#endif
MAKE_MENU(limits_menu, ID2P(LANG_LIMITS_MENU), 0, Icon_NOICON,
- &max_files_in_dir, &max_files_in_playlist);
+ &max_files_in_dir, &max_files_in_playlist
+#ifdef HAVE_LCD_BITMAP
+ ,&default_glyphs
+#endif
+ );
/* Keyclick menu */