From 1285bdbdf3d40a82ddfdb67eaa89c45620f3f1aa Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 3 Mar 2009 07:27:29 +0000 Subject: [PATCH] (compose_glyph_string): Check if category not Mnil. --- src/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 1.7.10.4