summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2020-10-14 20:02:45 -0700
committerJan Ekström <jeebjp@gmail.com>2020-10-16 00:47:18 +0300
commitaa18a8e1cde663caeabd93af7d57a745c1a76af6 (patch)
tree191916ce0b95e7553a36bebdf463415e49213df7 /osdep
parent8a2449e3d5a7f7f35905ce0451cea55f8001be67 (diff)
downloadmpv-aa18a8e1cde663caeabd93af7d57a745c1a76af6.tar.bz2
mpv-aa18a8e1cde663caeabd93af7d57a745c1a76af6.tar.xz
Revert "path: do not use old_home for win32 exe dir"
This reverts commit c3694f0acb7f71daac7606fafbadcb7b500ca35e.
Diffstat (limited to 'osdep')
-rw-r--r--osdep/path-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/path-win.c b/osdep/path-win.c
index 78e83c2222..8f289ff83a 100644
--- a/osdep/path-win.c
+++ b/osdep/path-win.c
@@ -90,7 +90,7 @@ const char *mp_get_platform_path_win(void *talloc_ctx, const char *type)
} else {
if (strcmp(type, "home") == 0)
return mp_get_win_app_dir(talloc_ctx);
- if (strcmp(type, "exe_dir") == 0)
+ if (strcmp(type, "old_home") == 0)
return mp_get_win_exe_dir(talloc_ctx);
// Not really true, but serves as a way to return a lowest-priority dir.
if (strcmp(type, "global") == 0)