summaryrefslogtreecommitdiff
path: root/apps/filetypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/filetypes.c')
-rw-r--r--apps/filetypes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c
index b884102..5a7ed11 100644
--- a/apps/filetypes.c
+++ b/apps/filetypes.c
@@ -471,8 +471,7 @@ int filetype_list_viewers(const char* current_file)
int j;
for (j=0;j<count;j++) /* check if the plugin is in the list yet */
{
- if (filetypes[i].plugin &&
- !strcmp(filetypes[i].plugin,filetypes[items[j]].plugin))
+ if (!strcmp(filetypes[i].plugin,filetypes[items[j]].plugin))
break;
}
if (j<count)