From 84ed12a0dca620f70d46977a43eda355f6261d51 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 6 Mar 2007 03:36:28 +0000 Subject: ligature support --- term.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'term.c') diff --git a/term.c b/term.c index aa19914..17444b8 100644 --- a/term.c +++ b/term.c @@ -25,6 +25,8 @@ static void dirty(struct uuterm *t, int y, int x1, int len) { int x2 = x1 + len - 1; struct uurow *r = t->rows[y]; + /* account for potentially affected ligatures */ + if (x1) x1--; if (x2w-1) x2++; //r->x1 += (x1 - r->x1) & (x1 - r->x1)>>8*sizeof(int)-1; //r->x2 += (x2 - r->x2) & (r->x2 - x2)>>8*sizeof(int)-1; if (x1 < r->x1) r->x1 = x1; -- cgit v1.2.3