diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-08-18 21:37:04 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-08-18 21:37:04 +0000 |
commit | c488e5e40d37d441cd0d19cec0663015457a1337 (patch) | |
tree | 76e170db38f7d6c33af0e65c99e338de14d09118 | |
parent | 8b7be5861e193212d0a98aa1decdcf827e9882f8 (diff) | |
download | rtmux-c488e5e40d37d441cd0d19cec0663015457a1337.tar.gz rtmux-c488e5e40d37d441cd0d19cec0663015457a1337.tar.bz2 rtmux-c488e5e40d37d441cd0d19cec0663015457a1337.zip |
Whoops, getting the comparison the right way round is usually recommended.
-rw-r--r-- | server.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1124,7 +1124,7 @@ server_check_window(struct window *w) * the window to be destroyed (or it'll close when the last * pane dies). */ - if (wp->fd == -1 && options_get_number(oo, "remain-on-exit")) { + if (wp->fd == -1 && !options_get_number(oo, "remain-on-exit")) { layout_close_pane(wp); window_remove_pane(w, wp); server_redraw_window(w); |