mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:43:46 +01:00
Fixed data directory bug
This commit is contained in:
parent
2d6a63e6fe
commit
7603897b84
@ -133,7 +133,7 @@ zathura_init(int argc, char* argv[])
|
||||
}
|
||||
|
||||
if (data_dir != NULL) {
|
||||
zathura->config.data_dir = g_strdup(config_dir);
|
||||
zathura->config.data_dir = g_strdup(data_dir);
|
||||
} else {
|
||||
gchar* path = girara_get_xdg_path(XDG_DATA);
|
||||
zathura->config.data_dir = g_build_filename(path, "zathura", NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user