From: handa Date: Fri, 25 Nov 2005 02:40:46 +0000 (+0000) Subject: (mface__for_chars): Check rfont before accessing the X-Git-Tag: REL-1-3-0~55 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a16d91b0624f9869d0f77855dbac1d6346bba01a;p=m17n%2Fm17n-lib.git (mface__for_chars): Check rfont before accessing the members. --- diff --git a/src/face.c b/src/face.c index e8cd66a..5c97fc4 100644 --- a/src/face.c +++ b/src/face.c @@ -784,7 +784,7 @@ mface__for_chars (MSymbol script, MSymbol language, MSymbol charset, int i; rfont = from_g->rface->rfont; - if (script == Mlatin) + if (rfont && script == Mlatin) { for (i = 0; i < num; i++) {