Use "%s" to panic.
This commit is contained in:
parent
2e2213ef89
commit
e20531c13e
@ -112,7 +112,7 @@ core_aprint_get_error_count(lua_State *L)
|
|||||||
static int
|
static int
|
||||||
core_panic(lua_State *L)
|
core_panic(lua_State *L)
|
||||||
{
|
{
|
||||||
panic(lua_tostring(L, -1));
|
panic("%s", lua_tostring(L, -1));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user