1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-18 21:57:00 +00:00

lua: fix format string in luaL_error()

This commit is contained in:
wm4 2014-03-01 00:40:22 +01:00
parent 93065af3ed
commit 6357c27ab6

View File

@ -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;