mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 18:47:39 -04:00
Fix red Lua extend error splash timeout and stop cutting off info
Change-Id: Icd6fe0fa1088ab59b8214f7c860f262ce67fe205
This commit is contained in:
parent
bbd4a6cb91
commit
f9225da811
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ static int db_errorfb (lua_State *L) {
|
|||
}
|
||||
lua_pushliteral(L, "\n\t");
|
||||
lua_getinfo(L1, "Snl", &ar);
|
||||
char* filename = strrchr(ar.short_src, '/');
|
||||
char* filename = rb->strrchr(ar.short_src, '/'); /* remove path */
|
||||
lua_pushfstring(L, "%s:", filename ? filename : ar.short_src);
|
||||
if (ar.currentline > 0)
|
||||
lua_pushfstring(L, "%d:", ar.currentline);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue