From a16d91b0624f9869d0f77855dbac1d6346bba01a Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 25 Nov 2005 02:40:46 +0000 Subject: [PATCH] (mface__for_chars): Check rfont before accessing the members. --- src/face.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- 1.7.10.4