summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2006-10-25 14:18:17 +0000
committerRich Felker <dalias@aerifal.cx>2006-10-25 14:18:17 +0000
commit584179790cf068c93c97c35889a2073a43d19e18 (patch)
tree8ebe992e38c8de89ad498546fa09d836c3601f10
parent6be66c1e482147c62af3d62be9a5ce73fb9ed5cf (diff)
downloaduuterm-584179790cf068c93c97c35889a2073a43d19e18.tar.gz
stupid omission; still a glitch though..?
-rw-r--r--xlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlib.c b/xlib.c
index 3bbd41f..84dc0d7 100644
--- a/xlib.c
+++ b/xlib.c
@@ -326,6 +326,7 @@ void uudisp_predraw_cell(struct uudisp *d, int idx, int x, int color)
if (x != p->x2+1 || x-p->x1 >= 80 || color != p->color) {
commit_cells(d, idx);
p->x1 = x;
+ p->color = color;
XSetForeground(p->display, p->gc, p->colors[color&15]);
XSetBackground(p->display, p->gc, p->colors[color>>4]);
}