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

src/w32term.c

index 857887397fee24b54155426e885892b72c7f27d9..75714a4a1183e020b572845b9acc3fc4d4b50603 100644 (file)
@@ -2009,7 +2009,7 @@ x_draw_composite_glyph_string_foreground (s)
 
              if (! VECTORP (adjustment))
                {
-                 width += XINT (LGLYPH_WIDTH (g));
+                 width += LGLYPH_WIDTH (g);
                  continue;
                }
              if (from < i)
@@ -2022,7 +2022,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;
            }