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
1 changed files with 1 additions and 1 deletions

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;