mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-13 03:56:00 +01:00
The function file_valid_extension should return True if plugin is different then NULL, not if it is equal.
This commit is contained in:
parent
e68c0f5f7f
commit
d74091a745
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ file_valid_extension(zathura_t* zathura, const char* path)
|
|||
zathura_plugin_t* plugin = zathura_plugin_manager_get_plugin(zathura->plugins.manager, content_type);
|
||||
g_free(content_type);
|
||||
|
||||
return plugin == NULL;
|
||||
return plugin != NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue