From 0dcde951b9593535bd5da1ae609b55d35f7e36b3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 26 Jun 2014 18:12:28 +0200 Subject: player: create config dir if it doesn't exist This was dropped in the commit adding XDG support, probably accidentally. Also normalize some whitespace. --- options/path.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'options') diff --git a/options/path.c b/options/path.c index 8fe44a2a2d..e40425fdc7 100644 --- a/options/path.c +++ b/options/path.c @@ -45,8 +45,6 @@ #define STRNULL(s) ((s) ? (s) : "(NULL)") - - static void mp_add_xdg_config_dirs(void *talloc_ctx, struct mpv_global *global, char **dirs, int i) { @@ -133,8 +131,6 @@ static char **mp_config_dirs(void *talloc_ctx, struct mpv_global *global) return ret; } - - char *mp_find_config_file(void *talloc_ctx, struct mpv_global *global, const char *filename) { @@ -159,6 +155,7 @@ char *mp_find_config_file(void *talloc_ctx, struct mpv_global *global, STRNULL(res)); return res; } + char **mp_find_all_config_files(void *talloc_ctx, struct mpv_global *global, const char *filename) { -- cgit v1.2.3