mirror of
https://github.com/tmux/tmux.git
synced 2024-12-26 03:19:16 +00:00
Merge branch 'obsd-master' into master
This commit is contained in:
commit
ba9b9367d5
@ -3148,6 +3148,11 @@ window_copy_cellstring(const struct grid_line *gl, u_int px, size_t *size,
|
|||||||
}
|
}
|
||||||
|
|
||||||
utf8_to_data(gl->extddata[gce->offset].data, &ud);
|
utf8_to_data(gl->extddata[gce->offset].data, &ud);
|
||||||
|
if (ud.size == 0) {
|
||||||
|
*size = 0;
|
||||||
|
*allocated = 0;
|
||||||
|
return (NULL);
|
||||||
|
}
|
||||||
*size = ud.size;
|
*size = ud.size;
|
||||||
*allocated = 1;
|
*allocated = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user