aboutsummaryrefslogtreecommitdiff
path: root/src/lua_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua_state.c')
-rw-r--r--src/lua_state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lua_state.c b/src/lua_state.c
index cf46760..df4839f 100644
--- a/src/lua_state.c
+++ b/src/lua_state.c
@@ -18,8 +18,7 @@ static void lua_path_push(const char *new_path) {
lua_getfield(L, -1, "path");
const char *current_path = lua_tostring(L, -1);
- if (!current_path)
- current_path = "";
+ if (!current_path) current_path = "";
lua_pop(L, 1);
lua_pushfstring(L, "%s;%s", current_path, new_path);