aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/composite.c2
1 files changed, 1 insertions, 1 deletions
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
1440 { 1440 {
1441 c = XINT (LGSTRING_CHAR (gstring, i)); 1441 c = XINT (LGSTRING_CHAR (gstring, i));
1442 cmp_it->nbytes += CHAR_BYTES (c); 1442 cmp_it->nbytes += CHAR_BYTES (c);
1443 cmp_it->width += LGLYPH_WIDTH (glyph) > 0 ? CHAR_WIDTH (c) : 0; 1443 cmp_it->width += CHAR_WIDTH (c);
1444 } 1444 }
1445 } 1445 }
1446 return c; 1446 return c;