From 85a2c290f922f648e5e9f0e69c03116f2d0aeaa6 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 6 Apr 2025 20:23:55 +0530 Subject: Change build setup to install lua prefix correctly + static build libluv --- src/LuaRuntime.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/LuaRuntime.cpp') diff --git a/src/LuaRuntime.cpp b/src/LuaRuntime.cpp index 328cd89..d54bb37 100644 --- a/src/LuaRuntime.cpp +++ b/src/LuaRuntime.cpp @@ -271,8 +271,7 @@ int LuaRuntime::lua_tab_list(lua_State *state) { int LuaRuntime::lua_history_back(lua_State *state) { auto &runtime = LuaRuntime::instance(); - qsizetype history_index = - lua_isnoneornil(state, 1) ? 1 : lua_tointeger(state, 1); + qsizetype history_index = lua_isnoneornil(state, 1) ? 1 : lua_tointeger(state, 1); WebViewId tab_id = lua_isnoneornil(state, 2) ? 0 : lua_tointeger(state, 2); @@ -283,8 +282,7 @@ int LuaRuntime::lua_history_back(lua_State *state) { int LuaRuntime::lua_history_forward(lua_State *state) { auto &runtime = LuaRuntime::instance(); - qsizetype history_index = - lua_isnoneornil(state, 1) ? 1 : lua_tointeger(state, 1); + qsizetype history_index = lua_isnoneornil(state, 1) ? 1 : lua_tointeger(state, 1); WebViewId tab_id = lua_isnoneornil(state, 2) ? 0 : lua_tointeger(state, 2); -- cgit v1.3.1