diff options
author | wm4 <wm4@nowhere> | 2014-03-01 00:40:22 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-01 00:40:22 +0100 |
commit | 6357c27ab68dfd646ff1e811de9f1a93c6775eed (patch) | |
tree | 2adacb443dd2e3aa3cf62c14a0b6048896816fa0 /player/lua.c | |
parent | 93065af3edb60fef45f693152e14a10e7d2cce1b (diff) | |
download | mpv-6357c27ab68dfd646ff1e811de9f1a93c6775eed.tar.bz2 mpv-6357c27ab68dfd646ff1e811de9f1a93c6775eed.tar.xz |
lua: fix format string in luaL_error()
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 e66f8e514e..5c1eb03493 100644 --- a/player/lua.c +++ b/player/lua.c @@ -899,7 +899,7 @@ static int script_input_define_section(lua_State *L) } else if (strcmp(flags, "") == 0) { //pass } else { - luaL_error(L, "invalid flags: '%*'", flags); + luaL_error(L, "invalid flags: '%s'", flags); } mp_input_define_section(mpctx->input, section, "<script>", contents, builtin); return 0; |