# HG changeset patch # User Kenichi Handa # Date 1283133669 -32400 # Node ID 6b8c20b6ec43a998b4b67ec8d9adaf51ead63d4e # Parent c1792addf7ea8c0530ad4ca6e5a63a765f5aebc9# Parent e42c7e9e39adfcb791d0c2bef93e5adaa30036af composite.c (composition_update_it): Fix previous change diff -r c1792addf7ea -r 6b8c20b6ec43 src/composite.c --- 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;