Whoops, getting the comparison the right way round is usually recommended.

pull/1/head
Nicholas Marriott 2009-08-18 21:37:04 +00:00
parent 8b7be5861e
commit c488e5e40d
1 changed files with 1 additions and 1 deletions

View File

@ -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);