about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-26 21:19:41 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-26 21:19:41 -0800
commit35fe28a36f9355649f96fcd2cca28d92cebe3f65 (patch)
tree6ee8dc1a654496955380e17459f7d9b0f0a76f8c /src
parent0c211dec77716ecd06d8beb81f84167a5c4bc7c0 (diff)
downloadteliva-35fe28a36f9355649f96fcd2cca28d92cebe3f65.tar.gz
.
Diffstat (limited to 'src')
-rw-r--r--src/lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua.c b/src/lua.c
index 9a57e52..04cbbaa 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -405,7 +405,7 @@ void save_to_current_definition_and_editor_buffer (lua_State *L, const char *def
   if (contents != NULL)
     fprintf(out, "%s", contents);
   fclose(out);
-  lua_settop(L, 0);
+  lua_settop(L, 0);  /* reclaim contents */
 }