File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 33*******************************************************************************
44
55=== 1.0.31 ===
6-
6+ * Fixed $XDG_CONFIG_HOME being ignored.
77
88=== 1.0.30 ===
99* Added possibility to perform casted fetch from expr::value_t.
Original file line number Diff line number Diff line change @@ -293,11 +293,15 @@ namespace lsp
293293 }
294294 }
295295#else
296- status_t res = get_env_var (" HOME " , &upath);
296+ status_t res = get_env_var (" XDG_CONFIG_HOME " , &upath);
297297 if (res != STATUS_OK)
298- return res;
299- if (!upath.append_ascii (FILE_SEPARATOR_S " .config" ))
300- return STATUS_NO_MEM;
298+ {
299+ res = get_env_var (" HOME" , &upath);
300+ if (res != STATUS_OK)
301+ return res;
302+ if (!upath.append_ascii (FILE_SEPARATOR_S " .config" ))
303+ return STATUS_NO_MEM;
304+ }
301305#endif /* PLATFORM_WINDOWS */
302306
303307 path->swap (&upath);
You can’t perform that action at this time.
0 commit comments