diff options
| author | Nicholas Marriott <nicm@openbsd.org> | 2009-08-10 17:59:59 +0000 |
|---|---|---|
| committer | Nicholas Marriott <nicm@openbsd.org> | 2009-08-10 17:59:59 +0000 |
| commit | fa64c1235e0870e2beea98d090c1a8bcb77588a0 (patch) | |
| tree | 5871481fcd1b87c71fe545f593683a26f9def83d | |
| parent | ec0c33b8449269859c825d72a8c3c82bbe0c3164 (diff) | |
| download | rtmux-fa64c1235e0870e2beea98d090c1a8bcb77588a0.tar.gz rtmux-fa64c1235e0870e2beea98d090c1a8bcb77588a0.tar.bz2 rtmux-fa64c1235e0870e2beea98d090c1a8bcb77588a0.zip | |
Use the right source and destination lines in grid_duplicate_lines.
| -rw-r--r-- | grid.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -514,8 +514,8 @@ grid_duplicate_lines( grid_clear_lines(dst, dy, ny); for (yy = 0; yy < ny; yy++) { - srcl = &src->linedata[yy]; - dstl = &dst->linedata[yy]; + srcl = &src->linedata[sy]; + dstl = &dst->linedata[dy]; memcpy(dstl, srcl, sizeof *dstl); if (srcl->cellsize != 0) { |