From 584179790cf068c93c97c35889a2073a43d19e18 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 25 Oct 2006 14:18:17 +0000 Subject: stupid omission; still a glitch though..? --- xlib.c | 1 + 1 file changed, 1 insertion(+) 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]); } -- cgit v1.2.3