changeset 91309:3f56aab091ed

(Ffont_shape_text): Fix setting of `to' field of glyphs.
author Kenichi Handa <handa@m17n.org>
date Mon, 07 Jan 2008 12:28:30 +0000
parents 9b6270bcd1a7
children 10d1c5574b7c
files src/font.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/font.c	Mon Jan 07 02:08:28 2008 +0000
+++ b/src/font.c	Mon Jan 07 12:28:30 2008 +0000
@@ -3687,7 +3687,7 @@
 	      Lisp_Object g = LGSTRING_GLYPH (gstring, i);
 
 	      LGLYPH_SET_FROM (g, LGLYPH_FROM (g) - this_from);
-	      LGLYPH_SET_TO (g, LGLYPH_TO (g) - this_to);
+	      LGLYPH_SET_TO (g, LGLYPH_TO (g) - this_from);
 	      LGSTRING_SET_GLYPH (gstr, i - k, LGSTRING_GLYPH (gstring, i));
 	    }
 	  from = make_number (start + this_from);