changeset 110020:e42c7e9e39ad

composite.c (composition_update_it): Fix previous change
author Kenichi Handa <handa@m17n.org>
date Mon, 30 Aug 2010 10:58:52 +0900
parents dd01a03cf509
children 6b8c20b6ec43
files src/composite.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/composite.c	Mon Aug 30 09:32:29 2010 +0900
+++ b/src/composite.c	Mon Aug 30 10:58:52 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;