diff options
author | nicm <nicm> | 2015-12-13 17:55:14 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-12-13 17:55:14 +0000 |
commit | 9f5aca62a94f46be9c7637ebd3269d012c9346a5 (patch) | |
tree | 90be91151129e3d3089020f9c988af0d614b2dc5 /cmd-new-window.c | |
parent | 9b7697db62dc1c809955e8f8fea2868c230cc503 (diff) | |
download | rtmux-9f5aca62a94f46be9c7637ebd3269d012c9346a5.tar.gz rtmux-9f5aca62a94f46be9c7637ebd3269d012c9346a5.tar.bz2 rtmux-9f5aca62a94f46be9c7637ebd3269d012c9346a5.zip |
Use struct cmd_find_state directly and remove cmd_state_flag, also
change so that winlink is set even if an index is too.
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r-- | cmd-new-window.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c index 8154bdfb..18d2952b 100644 --- a/cmd-new-window.c +++ b/cmd-new-window.c @@ -39,12 +39,7 @@ const struct cmd_entry cmd_new_window_entry = { "ac:dF:kn:Pt:", 0, -1, "[-adkP] [-c start-directory] [-F format] [-n window-name] " CMD_TARGET_WINDOW_USAGE " [command]", - /* - * Using PREP_CANFAIL here ensures that the wl is filled in - * regardless; making PREP_INDEX the thing we want -t to be used for - * in the specific case. - */ - CMD_INDEX_T|CMD_CANFAIL, + CMD_INDEX_T, cmd_new_window_exec }; |