From 65d1709c918dc981e389d63059954dc5664c8d33 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 12 Oct 2006 07:54:39 +0000 Subject: factoring --- refresh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'refresh.c') diff --git a/refresh.c b/refresh.c index 7410866..9b5aef6 100644 --- a/refresh.c +++ b/refresh.c @@ -52,9 +52,10 @@ void uuterm_refresh_row(struct uudisp *d, struct uurow *row, int x1, int x2) } else { width = 1; part = 0; chp = ch[x&3]; } + uudisp_predraw_cell(d, row->idx, x, row->cells[x].a & 0xff); for (i=0; ifont, i, chp, ch[(x+3)&3], ch[(x+1)&3], width, part); - if (glyph) uudisp_draw_glyph(d, row->idx, x, glyph, row->cells[x].a & 0xff); + if (glyph) uudisp_draw_glyph(d, row->idx, x, glyph); } } } -- cgit v1.2.3