git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13180 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-04-16 11:10:41 +00:00
parent ccaf24a29c
commit 3124134a08

View file

@ -286,7 +286,7 @@ char* filetype_get_plugin(const struct entry* file)
int index = find_attr(file->attr);
if (index < 0)
return NULL;
if (filetypes[index].viewer == NULL)
if (filetypes[index].plugin == NULL)
return NULL;
snprintf(plugin_name, MAX_PATH, "%s/%s.%s",
filetypes[index].viewer? VIEWERS_DIR: PLUGIN_DIR,