From 3124134a086e775ad61e97bd0c82758d81faec66 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon 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 cb05a60ad6..407f3a00e2 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,