mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-14 06:43:47 +01:00
Merge branch 'carlo3000_pwmt-develop-patch-03542' into 'develop'
The function file_valid_extension should return True if plugin is different... See merge request carlo3000_pwmt/zathura!1
This commit is contained in:
commit
2ffb21e886
@ -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);
|
zathura_plugin_t* plugin = zathura_plugin_manager_get_plugin(zathura->plugins.manager, content_type);
|
||||||
g_free(content_type);
|
g_free(content_type);
|
||||||
|
|
||||||
return plugin == NULL;
|
return plugin != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user