diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-01-18 02:16:21 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-01-18 02:16:21 +0000 |
commit | fdbfc7e3498e1cdd04e8df58aa1a937ee4d79caa (patch) | |
tree | 48c27a2125d75ac9c1ad6f21a089ae0642bb7bcc /format.c | |
parent | c2e2107063f85c65c0153cb3f201c12e93599038 (diff) | |
download | rtmux-fdbfc7e3498e1cdd04e8df58aa1a937ee4d79caa.tar.gz rtmux-fdbfc7e3498e1cdd04e8df58aa1a937ee4d79caa.tar.bz2 rtmux-fdbfc7e3498e1cdd04e8df58aa1a937ee4d79caa.zip |
Rather than having two grids for each pane, one for ASCII and one for
UTF-8, collapse the two together. Simplifies the code at the expense of
more memory (which can probably be reduced again later).
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -370,7 +370,6 @@ format_window_pane(struct format_tree *ft, struct window_pane *wp) for (i = 0; i < gd->hsize; i++) { gl = &gd->linedata[i]; size += gl->cellsize * sizeof *gl->celldata; - size += gl->utf8size * sizeof *gl->utf8data; } size += gd->hsize * sizeof *gd->linedata; |