about summary refs log tree commit diff stats
path: root/src/lua.c
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-26 16:09:15 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-26 16:09:15 -0800
commit2c80411224279cb017d1a44df157507f37a1388e (patch)
tree88876e80676b2b9a471084948d14c721d79d8682 /src/lua.c
parentf930b9e7c734a2141a7afd4cc85fc587ccf8e758 (diff)
downloadteliva-2c80411224279cb017d1a44df157507f37a1388e.tar.gz
.
Diffstat (limited to 'src/lua.c')
-rw-r--r--src/lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua.c b/src/lua.c
index aee975c..4e41814 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 back_to_browse = edit_image(L, query);
-      if (back_to_browse) return big_picture(L);  // retry while leaking stack
+      int to_big_picture = edit_image(L, query);
+      if (to_big_picture) return big_picture(L);  // retry while leaking stack
       return 1;
     } else if (c == CTRL_U) {
       qlen = 0;