diff options
-rw-r--r-- | src/lua.c | 3 |
1 files changed, 1 insertions, 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 */ } |