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:
3574a0a
)
(compose_glyph_string): Fix for the case of category
author
handa
<handa>
Thu, 21 Oct 2004 06:35:03 +0000
(06:35 +0000)
committer
handa
<handa>
Thu, 21 Oct 2004 06:35:03 +0000
(06:35 +0000)
being Mnil.
src/draw.c
patch
|
blob
|
history
diff --git
a/src/draw.c
b/src/draw.c
index
a9866f8
..
7ddd55f
100644
(file)
--- a/
src/draw.c
+++ b/
src/draw.c
@@
-291,7
+291,7
@@
compose_glyph_string (MFrame *frame, MText *mt, int from, int to,
category = mchar_get_prop (c, Mcategory);
if (category == McatCf)
g_tmp.category = GLYPH_CATEGORY_FORMATTER;
- else if (MSYMBOL_NAME (category)[0] == 'M')
+ else if (category != Mnil && MSYMBOL_NAME (category)[0] == 'M')
g_tmp.category = GLYPH_CATEGORY_MODIFIER;
else
g_tmp.category = GLYPH_CATEGORY_NORMAL;