From 7cde9aeb5dccce578c1eed13cf1ed2c61e446800 Mon Sep 17 00:00:00 2001 From: dacctal Date: Sun, 21 Jun 2026 01:33:58 +0000 Subject: huge code cleanup --- src/lua_state.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lua_state.c') diff --git a/src/lua_state.c b/src/lua_state.c index 623c87b..4d3c4b5 100644 --- a/src/lua_state.c +++ b/src/lua_state.c @@ -40,10 +40,8 @@ void init_lua_state() { "%s cannot run configuration script: %s\n", print_error, lua_tostring(L, -1) ); - printf( - "%s to generate a configration file, head into the root directory of the pkgit source and run `make defconfig`\n", - print_pkgit - ); + printf("%s to generate a configration file, head into the", print_pkgit); + printf(" root directory of the pkgit source and run `make defconfig`\n"); exit(EXIT_FAILURE); } if (file_exists(repo_file)) { @@ -130,7 +128,9 @@ void install_dependencies(lua_State *L) { } } -bool target_loop_build(lua_State *L, const char* lua_file, const char *target) { +bool target_loop_build( + lua_State *L, const char* lua_file, const char *target +) { lua_getfield(L, -1, target); if (!lua_istable(L, -1)) { if (is_verbose) printf( -- cgit v1.2.3