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:
Carlo Buccisano 2023-12-15 11:17:23 +01:00
commit 2ffb21e886

View File

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