From 63257f6c19fb4924de5841a5232113a0d5ebbdc2 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 30 Aug 2010 10:58:52 +0900 Subject: [PATCH] composite.c (composition_update_it): Fix previous change --- src/composite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composite.c b/src/composite.c index 96474f43fab..bc5a67ef6e2 100644 --- a/src/composite.c +++ b/src/composite.c @@ -1440,7 +1440,7 @@ composition_update_it (struct composition_it *cmp_it, EMACS_INT charpos, EMACS_I { c = XINT (LGSTRING_CHAR (gstring, i)); cmp_it->nbytes += CHAR_BYTES (c); - cmp_it->width += LGLYPH_WIDTH (glyph) > 0 ? CHAR_WIDTH (c) : 0; + cmp_it->width += CHAR_WIDTH (c); } } return c; -- 2.39.2