diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-16 11:10:41 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-16 11:10:41 +0000 |
| commit | 3124134a086e775ad61e97bd0c82758d81faec66 (patch) | |
| tree | a0f2b90a7877e81d2f7bd504a7ed7e281ca3b6d6 /apps | |
| parent | ccaf24a29cbcad04ce2673523e552e4ee7021d57 (diff) | |
| download | rockbox-3124134a086e775ad61e97bd0c82758d81faec66.zip rockbox-3124134a086e775ad61e97bd0c82758d81faec66.tar.gz rockbox-3124134a086e775ad61e97bd0c82758d81faec66.tar.bz2 rockbox-3124134a086e775ad61e97bd0c82758d81faec66.tar.xz | |
woops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13180 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/filetypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c index cb05a60..407f3a0 100644 --- a/apps/filetypes.c +++ b/apps/filetypes.c @@ -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, |