summaryrefslogtreecommitdiff
path: root/src/w32term.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2007-12-01 02:40:49 +0000
committerKenichi Handa <handa@m17n.org>2007-12-01 02:40:49 +0000
commit0c16681f7673779995f5e1cf39c388ed0398d562 (patch)
treec99b3afdcfa696165a69d319b1d02e89c66d31d6 /src/w32term.c
parent7a259f4b7d7fcc177c042bda5528c4ce1dcaf2e9 (diff)
downloademacs-0c16681f7673779995f5e1cf39c388ed0398d562.tar.gz
(x_draw_composite_glyph_string_foreground): Adjusted
for the change of lispy gstring.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 857887397fe..75714a4a118 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -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;
}