mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
player: create config dir if it doesn't exist
This was dropped in the commit adding XDG support, probably accidentally. Also normalize some whitespace.
This commit is contained in:
@@ -64,6 +64,8 @@ void mp_parse_cfgfiles(struct MPContext *mpctx)
|
||||
if (!opts->load_config)
|
||||
return;
|
||||
|
||||
mp_mk_config_dir(mpctx->global, "");
|
||||
|
||||
m_config_t *conf = mpctx->mconfig;
|
||||
void *tmp = talloc_new(NULL);
|
||||
char *conffile;
|
||||
|
||||
Reference in New Issue
Block a user