mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 12:05:59 +01:00
Fixed data directory bug
This commit is contained in:
parent
2d6a63e6fe
commit
7603897b84
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue