From: handa Date: Tue, 3 Mar 2009 07:27:29 +0000 (+0000) Subject: (compose_glyph_string): Check if category not Mnil. X-Git-Tag: REL-1-5-5-RC1~16 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1285bdbdf3d40a82ddfdb67eaa89c45620f3f1aa;p=m17n%2Fm17n-lib.git (compose_glyph_string): Check if category not Mnil. --- diff --git a/src/draw.c b/src/draw.c index 78a1a6c..332c1e0 100644 --- a/src/draw.c +++ b/src/draw.c @@ -464,7 +464,7 @@ compose_glyph_string (MFrame *frame, MText *mt, int from, int to, { MSymbol category = mchar_get_prop (g[-1].g.c, Mcategory); - if (MSYMBOL_NAME (category)[0] != 'Z') + if (category != Mnil && MSYMBOL_NAME (category)[0] != 'Z') this_script = script; } }