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:
b3b3e3e
)
(render_glyphs): Fix checking of g->code validity.
author
handa
<handa>
Tue, 20 Jul 2004 02:28:30 +0000
(
02:28
+0000)
committer
handa
<handa>
Tue, 20 Jul 2004 02:28:30 +0000
(
02:28
+0000)
src/draw.c
patch
|
blob
|
history
diff --git
a/src/draw.c
b/src/draw.c
index
6e5bb57
..
35b7a66
100644
(file)
--- a/
src/draw.c
+++ b/
src/draw.c
@@
-1213,7
+1213,8
@@
render_glyphs (MFrame *frame, MDrawWindow win, int x, int y, int width,
while (g != gend
&& g->type == from_g->type
&& g->rface == rface
- && (g->code < 0) == (from_g->code < 0)
+ && ((g->code == MCHAR_INVALID_CODE)
+ == (from_g->code == MCHAR_INVALID_CODE))
&& g->enabled)
width += g++->width;