diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-14 09:47:36 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-14 09:48:41 -0800 |
commit | a3ca7877da565b24df76cea817b63b045b7d8c52 (patch) | |
tree | 6ee03062affa144d6846176d6589386b65dba5f5 | |
parent | 7b91691b1422d20c85983abf2e2ad45cb8f4280b (diff) | |
download | teliva-a3ca7877da565b24df76cea817b63b045b7d8c52.tar.gz |
.
-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 */ } |