mirror of
https://github.com/tmux/tmux.git
synced 2025-01-09 17:48:48 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
e7c829fc67
@ -39,7 +39,7 @@ const struct cmd_entry cmd_capture_pane_entry = {
|
||||
.name = "capture-pane",
|
||||
.alias = "capturep",
|
||||
|
||||
.args = { "ab:CeE:JNpPqS:t:", 0, 0, NULL },
|
||||
.args = { "ab:CeE:JNpPqS:Tt:", 0, 0, NULL },
|
||||
.usage = "[-aCeJNpPqT] " CMD_BUFFER_USAGE " [-E end-line] "
|
||||
"[-S start-line] " CMD_TARGET_PANE_USAGE,
|
||||
|
||||
|
@ -962,7 +962,7 @@ utf8_combined_first_cmp(struct utf8_combined_first *uf1,
|
||||
return (-1);
|
||||
if (ud1->size > ud2->size)
|
||||
return (1);
|
||||
return (memcmp(ud1->data, ud2->data, sizeof *ud1->data));
|
||||
return (memcmp(ud1->data, ud2->data, ud1->size));
|
||||
}
|
||||
RB_HEAD(utf8_combined_tree, utf8_combined_first);
|
||||
RB_GENERATE_STATIC(utf8_combined_tree, utf8_combined_first, entry,
|
||||
@ -979,7 +979,7 @@ utf8_combined_second_cmp(const void *vp1, const void *vp2)
|
||||
return (-1);
|
||||
if (ud1->size > ud2->size)
|
||||
return (1);
|
||||
return (memcmp(ud1->data, ud2->data, sizeof *ud1->data));
|
||||
return (memcmp(ud1->data, ud2->data, ud1->size));
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user