Create index array to filetypes used in the open with list while loading viewers...
commit0cafcf13849110b0ea666288b4624a978b12aba7
authorteru <teru@a1c6a512-1295-4272-9138-f99709370657>
Tue, 9 Nov 2010 14:35:19 +0000 (9 14:35 +0000)
committerteru <teru@a1c6a512-1295-4272-9138-f99709370657>
Tue, 9 Nov 2010 14:35:19 +0000 (9 14:35 +0000)
treeeed5ac89b6ab16818f588f70802fb2b3c0f4c4cb
parentae17f52af4379ee66b4e76d81916f4157fd7b9e5
Create index array to filetypes used in the open with list while loading viewers.config.
Reduced stack usage of filetype_list_viewers().
Additionally, do not allocate buffer twice for same plugin name.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28538 a1c6a512-1295-4272-9138-f99709370657
apps/filetypes.c