mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 21:16:00 +01:00
Merge branch 'mbakke/zathura-plugindir' into develop
This commit is contained in:
commit
4e222933cc
1 changed files with 2 additions and 0 deletions
|
@ -624,6 +624,8 @@ zathura_set_plugin_dir(zathura_t* zathura, const char* dir)
|
||||||
|
|
||||||
if (dir != NULL) {
|
if (dir != NULL) {
|
||||||
set_plugin_dir(zathura, dir);
|
set_plugin_dir(zathura, dir);
|
||||||
|
} else if (g_getenv("ZATHURA_PLUGIN_PATH") != NULL) {
|
||||||
|
set_plugin_dir(zathura, g_getenv("ZATHURA_PLUGIN_PATH"));
|
||||||
#ifdef ZATHURA_PLUGINDIR
|
#ifdef ZATHURA_PLUGINDIR
|
||||||
} else {
|
} else {
|
||||||
set_plugin_dir(zathura, ZATHURA_PLUGINDIR);
|
set_plugin_dir(zathura, ZATHURA_PLUGINDIR);
|
||||||
|
|
Loading…
Reference in a new issue