diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-08-12 02:10:45 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-08-12 02:10:45 +0000 |
commit | eff14cceec3c71a90c6a675b0bd7b297bd151e7a (patch) | |
tree | ed37fcf62fd857e313e7f4cbacb706127a0b3227 /apps/settings_list.c | |
parent | ca42a2f0dd244b44468c79ac0a4b5c5d448218bf (diff) |
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.c | 1 |
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[] = { 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); |