]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 ca5af4afbfc6444b7b174aaa0c57cda123f32141..de26d3931d9752b64efc94d56545a52c3326f2e1 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;