From 047be6db37e3d8e67235ca97829c6da9b4118820 Mon Sep 17 00:00:00 2001 From: Michael Grant Date: Thu, 26 Dec 2024 18:01:19 +0000 Subject: [PATCH] fix style --- popup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popup.c b/popup.c index fc3998e4..8c4a65c6 100644 --- a/popup.c +++ b/popup.c @@ -352,7 +352,7 @@ popup_make_pane(struct popup_data *pd, enum layout_type type) new_wp = window_add_pane(wp->window, NULL, hlimit, 0); layout_assign_pane(lc, new_wp, 0); - if (pd->job) + if (pd->job != NULL) new_wp->fd = job_transfer(pd->job, &new_wp->pid, new_wp->tty, sizeof new_wp->tty); pd->job = NULL;