mirror of https://github.com/mpv-player/mpv
lua: fix format string in luaL_error()
This commit is contained in:
parent
93065af3ed
commit
6357c27ab6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue