mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 09:28:51 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
4aa02c3743
@ -237,7 +237,7 @@ window_buffer_search(__unused void *modedata, void *itemdata, const char *ss)
|
|||||||
if ((pb = paste_get_name(item->name)) == NULL)
|
if ((pb = paste_get_name(item->name)) == NULL)
|
||||||
return (0);
|
return (0);
|
||||||
if (strstr(item->name, ss) != NULL)
|
if (strstr(item->name, ss) != NULL)
|
||||||
return (0);
|
return (1);
|
||||||
bufdata = paste_buffer_data(pb, &bufsize);
|
bufdata = paste_buffer_data(pb, &bufsize);
|
||||||
return (memmem(bufdata, bufsize, ss, strlen(ss)) != NULL);
|
return (memmem(bufdata, bufsize, ss, strlen(ss)) != NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user