diff options
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 cb05a60ad6..407f3a00e2 100644 --- a/apps/filetypes.c +++ b/apps/filetypes.c | |||
@@ -286,7 +286,7 @@ char* filetype_get_plugin(const struct entry* file) | |||
286 | int index = find_attr(file->attr); | 286 | int index = find_attr(file->attr); |
287 | if (index < 0) | 287 | if (index < 0) |
288 | return NULL; | 288 | return NULL; |
289 | if (filetypes[index].viewer == NULL) | 289 | if (filetypes[index].plugin == NULL) |
290 | return NULL; | 290 | return NULL; |
291 | snprintf(plugin_name, MAX_PATH, "%s/%s.%s", | 291 | snprintf(plugin_name, MAX_PATH, "%s/%s.%s", |
292 | filetypes[index].viewer? VIEWERS_DIR: PLUGIN_DIR, | 292 | filetypes[index].viewer? VIEWERS_DIR: PLUGIN_DIR, |