summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2019-09-06 21:13:16 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2019-09-06 21:13:16 -0500
commitf9225da811b7babce7218f71bf4dd954dff0ed6c (patch)
tree39e9bd72ef7b1deec8c22ff7a6fe8de642b9b2e1
parentbbd4a6cb9162d5e98ff9ba9c7d3489e0a774d441 (diff)
downloadrockbox-f9225da811b7babce7218f71bf4dd954dff0ed6c.tar.gz
rockbox-f9225da811b7babce7218f71bf4dd954dff0ed6c.zip
Fix red Lua extend error splash timeout and stop cutting off info
Change-Id: Icd6fe0fa1088ab59b8214f7c860f262ce67fe205
-rw-r--r--apps/plugins/lua/rocklua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/rocklua.c b/apps/plugins/lua/rocklua.c
index b6e7a02261..ace73ee449 100644
--- a/apps/plugins/lua/rocklua.c
+++ b/apps/plugins/lua/rocklua.c
@@ -103,7 +103,7 @@ static int db_errorfb (lua_State *L) {
103 } 103 }
104 lua_pushliteral(L, "\n\t"); 104 lua_pushliteral(L, "\n\t");
105 lua_getinfo(L1, "Snl", &ar); 105 lua_getinfo(L1, "Snl", &ar);
106 char* filename = strrchr(ar.short_src, '/'); 106 char* filename = rb->strrchr(ar.short_src, '/'); /* remove path */
107 lua_pushfstring(L, "%s:", filename ? filename : ar.short_src); 107 lua_pushfstring(L, "%s:", filename ? filename : ar.short_src);
108 if (ar.currentline > 0) 108 if (ar.currentline > 0)
109 lua_pushfstring(L, "%d:", ar.currentline); 109 lua_pushfstring(L, "%d:", ar.currentline);