mirror of
https://github.com/tmux/tmux.git
synced 2025-03-25 07:18:48 +00:00
Correct client_prefix so it returns 1 if in prefix, not 0.
This commit is contained in:
parent
6d8efe9319
commit
6aaef3e705
4
format.c
4
format.c
@ -1319,8 +1319,8 @@ format_cb_client_prefix(struct format_tree *ft)
|
||||
if (ft->c != NULL) {
|
||||
name = server_client_get_key_table(ft->c);
|
||||
if (strcmp(ft->c->keytable->name, name) == 0)
|
||||
return (xstrdup("1"));
|
||||
return (xstrdup("0"));
|
||||
return (xstrdup("0"));
|
||||
return (xstrdup("1"));
|
||||
}
|
||||
return (NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user