diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-04-13 14:46:05 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-04-13 14:46:05 +0000 |
commit | 209c1b999f121d23cb4604659577998e9c854d0c (patch) | |
tree | 939d848fe4cad53c8bb66c06919d438695615d57 /usr.bin/tmux/menu.c | |
parent | b38a262a57ad0941a41ed3626664891772f6444e (diff) |
Move cmdq_state into cmd-queue.c.
Diffstat (limited to 'usr.bin/tmux/menu.c')
-rw-r--r-- | usr.bin/tmux/menu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/menu.c b/usr.bin/tmux/menu.c index a6ce64fe865..53a48b4e8b4 100644 --- a/usr.bin/tmux/menu.c +++ b/usr.bin/tmux/menu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: menu.c,v 1.18 2020/04/13 14:04:25 nicm Exp $ */ +/* $OpenBSD: menu.c,v 1.19 2020/04/13 14:46:04 nicm Exp $ */ /* * Copyright (c) 2019 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -282,10 +282,10 @@ chosen: break; case CMD_PARSE_SUCCESS: if (md->item != NULL) - m = &cmdq_get_state(md->item)->event.m; + event = cmdq_get_event(md->item); else - m = NULL; - new_item = cmdq_get_command(pr->cmdlist, &md->fs, m, 0); + event = NULL; + new_item = cmdq_get_command(pr->cmdlist, &md->fs, event, 0); cmd_list_free(pr->cmdlist); cmdq_append(c, new_item); break; |