diff options
author | wm4 <wm4@nowhere> | 2013-12-21 19:27:19 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 20:50:13 +0100 |
commit | dadf3a9a46d31a101aeaa1256b0d6f914eb32f1e (patch) | |
tree | ff77fc71275281769ce559dd7e8fd9b180f02213 /options/m_config.c | |
parent | 3846fc758789711347c0b11f87736b27fc6210a0 (diff) | |
download | mpv-dadf3a9a46d31a101aeaa1256b0d6f914eb32f1e.tar.bz2 mpv-dadf3a9a46d31a101aeaa1256b0d6f914eb32f1e.tar.xz |
m_config: add custom context to includefunc callback
Diffstat (limited to 'options/m_config.c')
-rw-r--r-- | options/m_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/m_config.c b/options/m_config.c index d9a3343ab7..2b873e765c 100644 --- a/options/m_config.c +++ b/options/m_config.c @@ -64,7 +64,7 @@ static int parse_include(struct m_config *config, struct bstr param, bool set, if (!set) return 1; char *filename = bstrdup0(NULL, param); - config->includefunc(config, filename, flags); + config->includefunc(config->includefunc_ctx, filename, flags); talloc_free(filename); return 1; } |