changeset 110022:6b8c20b6ec43

composite.c (composition_update_it): Fix previous change
author Kenichi Handa <handa@m17n.org>
date Mon, 30 Aug 2010 11:01:09 +0900
parents c1792addf7ea (current diff) e42c7e9e39ad (diff)
children fa10effce8f8 d24d9e523bc4 0187fc875872
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/composite.c	Mon Aug 30 09:33:17 2010 +0900
+++ b/src/composite.c	Mon Aug 30 11:01:09 2010 +0900
@@ -1440,7 +1440,7 @@
 	{
 	  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;