mirror of
https://github.com/tmux/tmux.git
synced 2024-11-18 02:18:53 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
d5c837904b
@ -464,6 +464,10 @@ tty_keys_find(struct tty *tty, const char *buf, size_t len, size_t *size)
|
|||||||
static struct tty_key *
|
static struct tty_key *
|
||||||
tty_keys_find1(struct tty_key *tk, const char *buf, size_t len, size_t *size)
|
tty_keys_find1(struct tty_key *tk, const char *buf, size_t len, size_t *size)
|
||||||
{
|
{
|
||||||
|
/* If no data, no match. */
|
||||||
|
if (len == 0)
|
||||||
|
return (NULL);
|
||||||
|
|
||||||
/* If the node is NULL, this is the end of the tree. No match. */
|
/* If the node is NULL, this is the end of the tree. No match. */
|
||||||
if (tk == NULL)
|
if (tk == NULL)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user