From 79e868a40d78c92d8221d0b7c90509f184e0f847 Mon Sep 17 00:00:00 2001 From: elioat Date: Wed, 5 Jun 2024 23:06:33 -0400 Subject: * --- lua/sandborb/src/app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/sandborb/src/app.c b/lua/sandborb/src/app.c index e4ca3b7..f63106d 100644 --- a/lua/sandborb/src/app.c +++ b/lua/sandborb/src/app.c @@ -52,7 +52,7 @@ static int event_handler(sb_Event *e) { } lua_pushlightuserdata(L, e); /* Pass the event as userdata to Lua */ - lua_pushstring(L, e->path); /* FIXME: find a way to use lau_pushstring to pass posted data into lua */ + lua_pushstring(L, e->path); /* FIXME: find a way to use lua_pushstring to pass posted data into lua */ if (lua_pcall(L, 2, 1, 0) != LUA_OK) { fprintf(stderr, "Failed to call Lua function: %s\n", lua_tostring(L, -1)); lua_close(L); -- cgit