mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:05:59 +01:00
Add a search path for ZATHURA_PLUGIN_PATH.
This commit is contained in:
parent
df34d8f176
commit
be8084d5f2
1 changed files with 2 additions and 0 deletions
|
@ -599,6 +599,8 @@ zathura_set_plugin_dir(zathura_t* zathura, const char* dir)
|
|||
|
||||
if (dir != NULL) {
|
||||
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
|
||||
} else {
|
||||
set_plugin_dir(zathura, ZATHURA_PLUGINDIR);
|
||||
|
|
Loading…
Reference in a new issue