From a3ca7877da565b24df76cea817b63b045b7d8c52 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 14 Nov 2021 09:47:36 -0800 Subject: . --- src/lua.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lua.c b/src/lua.c index 437b5f5..d09d12e 100644 --- a/src/lua.c +++ b/src/lua.c @@ -549,9 +549,8 @@ void switch_to_editor (lua_State *L, const char *message) { init_pair(i, i, -1); for (int i = 0; i < 8; ++i) init_pair(i+8, -1, i); - if (browse_image(L)) { + if (browse_image(L)) cleanup_curses(); - } execv(Argv[0], Argv); /* never returns */ } -- cgit 1.4.1-2-gfad0