summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-08-12 02:10:45 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-08-12 02:10:45 +0000
commiteff14cceec3c71a90c6a675b0bd7b297bd151e7a (patch)
treeed37fcf62fd857e313e7f4cbacb706127a0b3227 /apps/settings_list.c
parentca42a2f0dd244b44468c79ac0a4b5c5d448218bf (diff)
downloadrockbox-eff14cceec3c71a90c6a675b0bd7b297bd151e7a.tar.gz
rockbox-eff14cceec3c71a90c6a675b0bd7b297bd151e7a.zip
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
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c1
1 files changed, 1 insertions, 0 deletions
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[] = {
1248 3, "list_accel_wait", UNIT_SEC, 1, 10, 1, 1248 3, "list_accel_wait", UNIT_SEC, 1, 10, 1,
1249 scanaccel_formatter, scanaccel_getlang, NULL), 1249 scanaccel_formatter, scanaccel_getlang, NULL),
1250#endif /* HAVE_SCROLLWHEEL */ 1250#endif /* HAVE_SCROLLWHEEL */
1251 SYSTEM_SETTING(NVRAM(4),filetype_count, MAX_FILETYPES),
1251}; 1252};
1252 1253
1253const int nb_settings = sizeof(settings)/sizeof(*settings); 1254const int nb_settings = sizeof(settings)/sizeof(*settings);