Change the way the MAX_FILETYPES define works. It now allocates enough filetype icons...
commitce24c36360d78b6fe6360bfe10d863fd1b1e19b8
authorjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Sun, 12 Aug 2007 02:10:45 +0000 (12 02:10 +0000)
committerjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Sun, 12 Aug 2007 02:10:45 +0000 (12 02:10 +0000)
treeed37fcf62fd857e313e7f4cbacb706127a0b3227
parent5363159944a4668e453c51605cd59292c6dce34d
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/filetypes.c
apps/settings.h
apps/settings_list.c