about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-26 16:10:02 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-26 16:10:02 -0800
commit5bc52a5cbad9aed906a2f17170352d4363e721ad (patch)
treeb0e9c64743fc95cf33d2855943be06c76f73bcea
parent2c80411224279cb017d1a44df157507f37a1388e (diff)
downloadteliva-5bc52a5cbad9aed906a2f17170352d4363e721ad.tar.gz
.
-rw-r--r--src/lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua.c b/src/lua.c
index 4e41814..5bdc1c3 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -649,8 +649,8 @@ int big_picture (lua_State *L) {
     } else if (c == ESC) {
       return 0;
     } else if (c == ENTER) {
-      int to_big_picture = edit_image(L, query);
-      if (to_big_picture) return big_picture(L);  // retry while leaking stack
+      int back_to_big_picture = edit_image(L, query);
+      if (back_to_big_picture) return big_picture(L);  // retry while leaking stack
       return 1;
     } else if (c == CTRL_U) {
       qlen = 0;