Mercurial > emacs
changeset 91144:4e7de6e7eb8e
(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:42:24 +0000 |
parents | 06de618f78e7 |
children | bc935454570f |
files | src/xterm.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Sat Dec 01 02:42:03 2007 +0000 +++ b/src/xterm.c Sat Dec 01 02:42:24 2007 +0000 @@ -1542,7 +1542,7 @@ if (! VECTORP (adjustment)) { - width += XINT (LGLYPH_WIDTH (g)); + width += LGLYPH_WIDTH (g); continue; } if (from < i) @@ -1555,7 +1555,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; }