projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6575740
)
(compose_glyph_string): Don't get face property at the
author
handa
<handa>
Fri, 22 Oct 2004 05:41:38 +0000
(
05:41
+0000)
committer
handa
<handa>
Fri, 22 Oct 2004 05:41:38 +0000
(
05:41
+0000)
end of M-text.
src/draw.c
patch
|
blob
|
history
diff --git
a/src/draw.c
b/src/draw.c
index
7ddd55f
..
1d5ced0
100644
(file)
--- a/
src/draw.c
+++ b/
src/draw.c
@@
-270,6
+270,8
@@
compose_glyph_string (MFrame *frame, MText *mt, int from, int to,
(void **) faces, 64);
mtext_prop_range (mt, Mface, pos, NULL, &face_change, 1);
+ if (face_change == mtext_nchars (mt))
+ face_change++;
rface = (num > 0 ? mface__realize (frame, faces, num, size)
: default_rface);
}