Update file_valid_extension argument check

This commit is contained in:
Moritz Lipp 2012-05-21 23:16:29 +02:00
parent 122ea70e16
commit 234ea6d323

View file

@ -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;
}