Mercurial > emacs
changeset 91139:3b9ed57b1424
(x_draw_composite_glyph_string_foreground): Adjusted
for the change of lispy gstring.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Sat, 01 Dec 2007 02:40:49 +0000 |
parents | 50fae08720cc |
children | 6ab6b7928830 |
files | src/w32term.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32term.c Sat Dec 01 02:39:57 2007 +0000 +++ b/src/w32term.c Sat Dec 01 02:40:49 2007 +0000 @@ -2009,7 +2009,7 @@ if (! VECTORP (adjustment)) { - width += XINT (LGLYPH_WIDTH (g)); + width += LGLYPH_WIDTH (g); continue; } if (from < i) @@ -2022,7 +2022,7 @@ 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; }