Consistent nameing with -p

This commit is contained in:
Sebastian Ramacher 2018-05-26 20:40:05 +02:00
parent 4e222933cc
commit b62a3d4c31

View file

@ -624,8 +624,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"));
} else if (g_getenv("ZATHURA_PLUGINS_PATH") != NULL) {
set_plugin_dir(zathura, g_getenv("ZATHURA_PLUGINS_PATH"));
#ifdef ZATHURA_PLUGINDIR
} else {
set_plugin_dir(zathura, ZATHURA_PLUGINDIR);