summaryrefslogtreecommitdiffstats
path: root/options/path.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-06-25 17:44:46 +0200
committerwm4 <wm4@nowhere>2020-06-25 17:56:16 +0200
commitc3694f0acb7f71daac7606fafbadcb7b500ca35e (patch)
tree92fc33fe5b2ee93318b0a9fefd9a4bcdfb0892af /options/path.c
parent269f0e743e5634691f0c9d5b1b8a4bb68eedbbd0 (diff)
downloadmpv-c3694f0acb7f71daac7606fafbadcb7b500ca35e.tar.bz2
mpv-c3694f0acb7f71daac7606fafbadcb7b500ca35e.tar.xz
path: do not use old_home for win32 exe dir
Apparently mpv supports loading config files from the same directory as the mpv.exe. This is a fallback of some sort. It used the old_home mechanism. I want to add a warning if old_home exists, but that would always show the warning on win32. Obviously we don't want that. Add a separate exe_dir entry to deal with that. Untested, but probably works.
Diffstat (limited to 'options/path.c')
-rw-r--r--options/path.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/path.c b/options/path.c
index 9c996ce664..7afa3c1dc0 100644
--- a/options/path.c
+++ b/options/path.c
@@ -59,6 +59,7 @@ static const char *const config_dirs[] = {
"home",
"old_home",
"osxbundle",
+ "exe_dir"
"global",
};