mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Merge branch 'obsd-master'
This commit is contained in:
6
format.c
6
format.c
@ -2429,12 +2429,12 @@ format_single(struct cmdq_item *item, const char *fmt, struct client *c,
|
||||
|
||||
/* Expand a single string using target. */
|
||||
char *
|
||||
format_single_from_target(struct cmdq_item *item, const char *fmt,
|
||||
struct client *c)
|
||||
format_single_from_target(struct cmdq_item *item, const char *fmt)
|
||||
{
|
||||
struct cmd_find_state *target = cmdq_get_target(item);
|
||||
struct client *tc = cmdq_get_target_client(item);
|
||||
|
||||
return (format_single(item, fmt, c, target->s, target->wl, target->wp));
|
||||
return (format_single(item, fmt, tc, target->s, target->wl, target->wp));
|
||||
}
|
||||
|
||||
/* Set defaults for any of arguments that are not NULL. */
|
||||
|
Reference in New Issue
Block a user