HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc3b443
)
(x_draw_composite_glyph_string_foreground): Don't
author
Kenichi Handa
<handa@m17n.org>
Tue, 20 Feb 2007 11:02:20 +0000
(11:02 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 20 Feb 2007 11:02:20 +0000
(11:02 +0000)
increment s->gidx for TAB.
src/xterm.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index
e795d22
..
89fe463
100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-1501,7
+1501,7
@@
x_draw_composite_glyph_string_foreground (s)
}
else
{
- for (i = 0; i < s->nchars; i++
, ++s->gidx
)
+ for (i = 0; i < s->nchars; i++)
if (COMPOSITION_GLYPH (s->cmp, s->gidx) != '\t')
{
int xx = x + s->cmp->offsets[s->gidx * 2];
@@
-1510,6
+1510,7
@@
x_draw_composite_glyph_string_foreground (s)
font->driver->draw (s, s->gidx, s->gidx + 1, xx, yy, 0);
if (s->face->overstrike)
font->driver->draw (s, s->gidx, s->gidx + 1, xx + 1, yy, 0);
+ s->gidx++;
}
}
}