about summary refs log tree commit diff stats
path: root/src/lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua.c')
-rw-r--r--src/lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua.c b/src/lua.c
index 84448b7..2d8c5fd 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -399,6 +399,7 @@ void browseImage (lua_State *L) {
     ++y;
     lua_pop(L, 1);  // pop value, leave key on stack for next iteration
   }
+  lua_settop(L, 0);
   mvaddstr(LINES-1, 0, "edit what? ");
   char definition[64] = {0};
   getnstr(definition, 60);