Revert "path: do not use old_home for win32 exe dir"

This reverts commit c3694f0acb.
This commit is contained in:
Philip Langdale
2020-10-14 20:02:45 -07:00
committed by Jan Ekström
parent 8a2449e3d5
commit aa18a8e1cd
3 changed files with 1 additions and 4 deletions

View File

@@ -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)