Browse Source

Fix wrong path in `os2.user_config_dir`

Feoramund 11 months ago
parent
commit
7d1fcfa09b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/os/os2/user.odin

+ 1 - 1
core/os/os2/user.odin

@@ -49,7 +49,7 @@ user_config_dir :: proc(allocator: runtime.Allocator) -> (dir: string, err: Erro
 			dir = concatenate({dir, "/.config"}, allocator) or_return
 		}
 	case: // All other UNIX systems
-		dir = get_env("XDG_CACHE_HOME", allocator)
+		dir = get_env("XDG_CONFIG_HOME", allocator)
 		if dir == "" {
 			dir = get_env("HOME", temp_allocator())
 			if dir == "" {