mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 08:25:59 +01:00
Merge branch 'develop' of pwmt.org:zathura into develop
This commit is contained in:
commit
2ddb04d4ab
1 changed files with 6 additions and 0 deletions
6
plugin.c
6
plugin.c
|
@ -108,6 +108,12 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (g_str_has_suffix(path, ".so") == FALSE) {
|
||||
girara_debug("%s is not a plugin file. Skipping.", path);
|
||||
g_free(path);
|
||||
continue;
|
||||
}
|
||||
|
||||
zathura_plugin_t* plugin = NULL;
|
||||
|
||||
/* load plugin */
|
||||
|
|
Loading…
Reference in a new issue