summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/filetypes.c2
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,