mirror of
https://github.com/tmux/tmux.git
synced 2024-12-14 10:58:48 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
429f86397b
3
grid.c
3
grid.c
@ -652,7 +652,8 @@ grid_duplicate_lines(struct grid *dst, u_int dy, struct grid *src, u_int sy,
|
|||||||
srcl->cellsize, sizeof *dstl->celldata);
|
srcl->cellsize, sizeof *dstl->celldata);
|
||||||
memcpy(dstl->celldata, srcl->celldata,
|
memcpy(dstl->celldata, srcl->celldata,
|
||||||
srcl->cellsize * sizeof *dstl->celldata);
|
srcl->cellsize * sizeof *dstl->celldata);
|
||||||
}
|
} else
|
||||||
|
dstl->celldata = NULL;
|
||||||
|
|
||||||
sy++;
|
sy++;
|
||||||
dy++;
|
dy++;
|
||||||
|
Loading…
Reference in New Issue
Block a user