From 4077acaa16e9f2dd8e816346323c4bb71df60c5a Mon Sep 17 00:00:00 2001 From: jdgordon Date: Mon, 16 Apr 2007 11:10:41 +0000 Subject: [PATCH] woops git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13180 a1c6a512-1295-4272-9138-f99709370657 --- apps/filetypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/filetypes.c b/apps/filetypes.c index cb05a60ad..407f3a00e 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, -- 2.11.4.GIT