From eff14cceec3c71a90c6a675b0bd7b297bd151e7a Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 12 Aug 2007 02:10:45 +0000 Subject: Change the way the MAX_FILETYPES define works. It now allocates enough filetype icons as it needed last boot + 8, this means we should never have to edit the define again. If you get the "filetypes array full" splash, do a clean reboot and it shuold go away. if it doesnt make sure you file a bug report and let us know you did reboot and it stayed there... it means that define does actually need increeasing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14287 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings_list.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/settings_list.c') diff --git a/apps/settings_list.c b/apps/settings_list.c index 62daeb8c4d..5311c3e6c4 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -1248,6 +1248,7 @@ const struct settings_list settings[] = { 3, "list_accel_wait", UNIT_SEC, 1, 10, 1, scanaccel_formatter, scanaccel_getlang, NULL), #endif /* HAVE_SCROLLWHEEL */ + SYSTEM_SETTING(NVRAM(4),filetype_count, MAX_FILETYPES), }; const int nb_settings = sizeof(settings)/sizeof(*settings); -- cgit v1.2.3