diff options
author | wm4 <wm4@nowhere> | 2015-05-09 13:50:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-09 13:57:55 +0200 |
commit | 2263f37dfb9faabfae9cbaf0c438ef35d1b764e2 (patch) | |
tree | 22736900b15eedb081e458203c78e6b4a268cbb7 /options/options.c | |
parent | 56310605690288f44c49363413e68f7c73325ed1 (diff) | |
download | mpv-2263f37dfb9faabfae9cbaf0c438ef35d1b764e2.tar.bz2 mpv-2263f37dfb9faabfae9cbaf0c438ef35d1b764e2.tar.xz |
path: unify the two config file lookup functions
Share most of the implementation of config file lookup between
mp_find_all_config_files() and mp_find_config_file().
Also move the check for config path overrides to mp_get_platform_path()
directly. From the point of view of config file lookup, this is a bit
stupid, but on the other hand increases consistency, as user path
resolution exposes the mp_get_platform_path() functionality directly to
the user.
Diffstat (limited to 'options/options.c')
0 files changed, 0 insertions, 0 deletions