"Open With" menu duplicate entry bug fixed.

Only plugins that match the target file extensions are now listed.
Patch by Patr3ck.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6157 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thom Johansen 2005-03-06 18:13:16 +00:00
parent 59483d6768
commit 7144e38b5f
3 changed files with 16 additions and 9 deletions

View file

@ -32,7 +32,7 @@ int filetype_get_icon(int);
char* filetype_get_plugin(const struct entry*);
void filetype_init(void);
bool filetype_supported(int);
int filetype_load_menu(struct menu_item*, int);
int filetype_load_menu(struct menu_item*, int, char*);
int filetype_load_plugin(const char*, char*);
struct file_type {