mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix wrong path in os2.user_config_dir
This commit is contained in:
@@ -49,7 +49,7 @@ user_config_dir :: proc(allocator: runtime.Allocator) -> (dir: string, err: Erro
|
|||||||
dir = concatenate({dir, "/.config"}, allocator) or_return
|
dir = concatenate({dir, "/.config"}, allocator) or_return
|
||||||
}
|
}
|
||||||
case: // All other UNIX systems
|
case: // All other UNIX systems
|
||||||
dir = get_env("XDG_CACHE_HOME", allocator)
|
dir = get_env("XDG_CONFIG_HOME", allocator)
|
||||||
if dir == "" {
|
if dir == "" {
|
||||||
dir = get_env("HOME", temp_allocator())
|
dir = get_env("HOME", temp_allocator())
|
||||||
if dir == "" {
|
if dir == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user