]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_draw_composite_glyph_string_foreground): Adjusted for
authorKenichi Handa <handa@m17n.org>
Sat, 1 Dec 2007 02:42:24 +0000 (02:42 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 1 Dec 2007 02:42:24 +0000 (02:42 +0000)
the change of lispy gstring.

src/xterm.c

index 7d20e9bd48f06b3066dcdf8aca9cda3bd916202f..55185fb57f2b588355874c6ae3cb960a0b3ed883 100644 (file)
@@ -1542,7 +1542,7 @@ x_draw_composite_glyph_string_foreground (s)
 
              if (! VECTORP (adjustment))
                {
-                 width += XINT (LGLYPH_WIDTH (g));
+                 width += LGLYPH_WIDTH (g);
                  continue;
                }
              if (from < i)
@@ -1555,7 +1555,7 @@ x_draw_composite_glyph_string_foreground (s)
              wadjust = XINT (AREF (adjustment, 2));
 
              font->driver->draw (s, i, i + 1, x + xoff, y + yoff, 0);
-             x += XINT (LGLYPH_WIDTH (g)) + wadjust;
+             x += wadjust;
              from = i + 1;
              width = 0;
            }