diff options
author | wm4 <wm4@nowhere> | 2016-09-29 16:44:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-29 16:44:01 +0200 |
commit | 86ab4b8a9fbcbb337add2bf06985c5de2aea7a90 (patch) | |
tree | c18516ad6eaa217424e98d39f6bfc10565858c0c /bootstrap.py | |
parent | b81ae52f508fa1e4447e97223f79f4c59ff99197 (diff) | |
download | mpv-86ab4b8a9fbcbb337add2bf06985c5de2aea7a90.tar.bz2 mpv-86ab4b8a9fbcbb337add2bf06985c5de2aea7a90.tar.xz |
path: default ~~ paths to home directory
The code for expanding the ~~ prefix used mp_find_config_file(), which
strictly looks for _existing_ files in any config path (e.g. not just
the user-local one, but also system-wide config). If no such file
exists, it simply returns NULL, which makes the code below just return
the literal, unexpanded path.
Change this so that it'll resolve the path to the user-local config
directory instead.
Requested in #3591.
Diffstat (limited to 'bootstrap.py')
0 files changed, 0 insertions, 0 deletions