summaryrefslogtreecommitdiff
path: root/refresh.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2006-10-12 07:54:39 +0000
committerRich Felker <dalias@aerifal.cx>2006-10-12 07:54:39 +0000
commit65d1709c918dc981e389d63059954dc5664c8d33 (patch)
tree40d301d0b01dd48ec398fe88397b3523304f4dfb /refresh.c
parent58ece9167987dbc3b88656c470244543cb3d5c32 (diff)
downloaduuterm-65d1709c918dc981e389d63059954dc5664c8d33.tar.gz
factoring
Diffstat (limited to 'refresh.c')
-rw-r--r--refresh.c3
1 files changed, 2 insertions, 1 deletions
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; i<sizeof(ch[0]) && chp[i]; i++) {
const void *glyph = lookup_glyph(d->font, 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);
}
}
}