From 340f17a474401563de89aa0444f7cdee209b9c35 Mon Sep 17 00:00:00 2001 From: ame Date: Mon, 5 Feb 2024 16:03:56 -0600 Subject: cleaning and fixes --- src/io.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index 14117ec..5eb9de8 100644 --- a/src/io.c +++ b/src/io.c @@ -114,10 +114,12 @@ void i_pprint(lua_State* L, int indent, int skip_indent){ } else { if(!skip) print_indentation(indent + 1); } + int tuwu = lua_gettop(L); i_pprint(L,indent+1,1); printf(","); if(!skip) printf("\n"); - + + lua_settop(L, tuwu); lua_pop(L,1); } print_indentation(indent); -- cgit v1.2.3