fix style

This commit is contained in:
Michael Grant 2024-12-26 18:01:19 +00:00
parent f623075f0f
commit 047be6db37

View File

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