diff options
Diffstat (limited to 'player/lua.c')
-rw-r--r-- | player/lua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua.c b/player/lua.c index ab00c58c68..25f29c3f09 100644 --- a/player/lua.c +++ b/player/lua.c @@ -343,7 +343,7 @@ static int script_find_config_file(lua_State *L) { struct MPContext *mpctx = get_mpctx(L); const char *s = luaL_checkstring(L, 1); - char *path = mp_find_user_config_file(NULL, mpctx->global, s); + char *path = mp_find_config_file(NULL, mpctx->global, s); if (path) { lua_pushstring(L, path); } else { |