about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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;