aboutsummaryrefslogtreecommitdiff
path: root/src/LuaRuntime.cpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-04-06 20:23:55 +0530
committerAkshay Nair <phenax5@gmail.com>2025-04-06 20:23:55 +0530
commit85a2c290f922f648e5e9f0e69c03116f2d0aeaa6 (patch)
tree0aff3bd3cda13a626615931c1a2829baee717ff2 /src/LuaRuntime.cpp
parentbbde1438e9c31cc83d8c4835ea97a0eaeae4e192 (diff)
downloadnull-browser-85a2c290f922f648e5e9f0e69c03116f2d0aeaa6.tar.gz
null-browser-85a2c290f922f648e5e9f0e69c03116f2d0aeaa6.zip
Change build setup to install lua prefix correctly + static build libluv
Diffstat (limited to 'src/LuaRuntime.cpp')
-rw-r--r--src/LuaRuntime.cpp6
1 files changed, 2 insertions, 4 deletions
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);