(x_draw_composite_glyph_string_foreground): Check if
authorKenichi Handa <handa@m17n.org>
Mon, 24 Jul 2006 02:55:39 +0000 (02:55 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 24 Jul 2006 02:55:39 +0000 (02:55 +0000)
adjustment is vector  or not.

src/xterm.c

index ca5af4a..de26d39 100644 (file)
@@ -1469,7 +1469,7 @@ x_draw_composite_glyph_string_foreground (s)
              Lisp_Object adjustment = LGLYPH_ADJUSTMENT (g);
              int xoff, yoff, wadjust;
 
-             if (NILP (adjustment))
+             if (! VECTORP (adjustment))
                {
                  width += XINT (LGLYPH_WIDTH (g));
                  continue;