changeset 90538:f86f8e9b83a9

(x_draw_composite_glyph_string_foreground): Check if adjustment is vector or not.
author Kenichi Handa <handa@m17n.org>
date Mon, 24 Jul 2006 02:55:39 +0000
parents 50c8d1ed9804
children e35db3ad4e31
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Jul 24 02:54:48 2006 +0000
+++ b/src/xterm.c	Mon Jul 24 02:55:39 2006 +0000
@@ -1469,7 +1469,7 @@
 	      Lisp_Object adjustment = LGLYPH_ADJUSTMENT (g);
 	      int xoff, yoff, wadjust;
 
-	      if (NILP (adjustment))
+	      if (! VECTORP (adjustment))
 		{
 		  width += XINT (LGLYPH_WIDTH (g));
 		  continue;