1
0
Fork 0
forked from len0rd/rockbox

Lua extend error splash timeout and stop cutting off info

Change-Id: Ia1a9e39b9f203002cbbea85ef965e66c334b83fc
This commit is contained in:
William Wilgus 2019-09-06 20:19:42 -05:00
parent 267d04d2bd
commit bbd4a6cb91
2 changed files with 5 additions and 4 deletions

View file

@ -708,7 +708,7 @@ static void addinfo (lua_State *L, const char *msg) {
char buff[LUA_IDSIZE]; /* add file:line information */
int line = currentline(L, ci);
luaO_chunkid(buff, getstr(getluaproto(ci)->source), LUA_IDSIZE);
luaO_pushfstring(L, "%s:%d: %s", buff, line, msg);
luaO_pushfstring(L, "%s: %d: %s", buff, line, msg);
}
}