diff options
author | 2019-06-18 11:08:42 +0000 | |
---|---|---|
committer | 2019-06-18 11:08:42 +0000 | |
commit | 780ca620f1c716c2970da67fa9e9172129a7e3d1 (patch) | |
tree | 044e1e90945d435fef72b6aaed82bd82899f9fce /usr.bin/tmux/cmd-display-panes.c | |
parent | Ensure the length passed to ffs_truncate() is within bounds before calling (diff) | |
download | wireguard-openbsd-780ca620f1c716c2970da67fa9e9172129a7e3d1.tar.xz wireguard-openbsd-780ca620f1c716c2970da67fa9e9172129a7e3d1.zip |
Add a cmdq_continue function rather than twiddling the flag directly.
Diffstat (limited to 'usr.bin/tmux/cmd-display-panes.c')
-rw-r--r-- | usr.bin/tmux/cmd-display-panes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-display-panes.c b/usr.bin/tmux/cmd-display-panes.c index 6314260f44f..ddaab2df4ef 100644 --- a/usr.bin/tmux/cmd-display-panes.c +++ b/usr.bin/tmux/cmd-display-panes.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-display-panes.c,v 1.27 2019/05/23 11:13:30 nicm Exp $ */ +/* $OpenBSD: cmd-display-panes.c,v 1.28 2019/06/18 11:08:42 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -188,7 +188,7 @@ cmd_display_panes_free(struct client *c) struct cmd_display_panes_data *cdata = c->overlay_data; if (cdata->item != NULL) - cdata->item->flags &= ~CMDQ_WAITING; + cmdq_continue(cdata->item); free(cdata->command); free(cdata); } |