mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 10:08:48 +00:00
Fix a regression: do not warn about no client in rename-window.
This commit is contained in:
parent
26792b9035
commit
194e9f611b
@ -46,7 +46,7 @@ static enum cmd_retval
|
|||||||
cmd_rename_window_exec(struct cmd *self, struct cmdq_item *item)
|
cmd_rename_window_exec(struct cmd *self, struct cmdq_item *item)
|
||||||
{
|
{
|
||||||
struct args *args = self->args;
|
struct args *args = self->args;
|
||||||
struct client *c = cmd_find_client(item, NULL, 0);
|
struct client *c = cmd_find_client(item, NULL, 1);
|
||||||
struct session *s = item->target.s;
|
struct session *s = item->target.s;
|
||||||
struct winlink *wl = item->target.wl;
|
struct winlink *wl = item->target.wl;
|
||||||
char *newname;
|
char *newname;
|
||||||
|
Loading…
Reference in New Issue
Block a user