From 234ea6d3238f4ccad65c347d213e81bcefb6627e Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Mon, 21 May 2012 23:16:29 +0200 Subject: [PATCH] Update file_valid_extension argument check --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.c b/utils.c index 6d24478..43da517 100644 --- a/utils.c +++ b/utils.c @@ -51,7 +51,7 @@ file_get_extension(const char* path) bool file_valid_extension(zathura_t* zathura, const char* path) { - if (zathura == NULL || zathura->plugins.manager == NULL || path == NULL) { + if (zathura == NULL || path == NULL || zathura->plugins.manager == NULL) { return false; }