emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/composite.c,v


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/composite.c,v
Date: Sun, 31 Aug 2008 00:57:02 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        08/08/31 00:57:01

Index: composite.c
===================================================================
RCS file: /sources/emacs/emacs/src/composite.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- composite.c 29 Aug 2008 09:54:45 -0000      1.52
+++ composite.c 31 Aug 2008 00:57:00 -0000      1.53
@@ -1142,7 +1142,7 @@
          Lisp_Object glyph = LGSTRING_GLYPH (gstring, cmp_it->from);
          int from = LGLYPH_FROM (glyph);
 
-         c = LGSTRING_CHAR (gstring, from);
+         c = XINT (LGSTRING_CHAR (gstring, from));
          cmp_it->nchars = LGLYPH_TO (glyph) - from + 1;
          cmp_it->width = (LGLYPH_WIDTH (glyph) > 0
                           ? CHAR_WIDTH (LGLYPH_CHAR (glyph)) : 0);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]