woops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13180 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ccaf24a29c
commit
3124134a08
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue