(mface__for_chars): Check rfont before accessing the
authorhanda <handa>
Fri, 25 Nov 2005 02:40:46 +0000 (02:40 +0000)
committerhanda <handa>
Fri, 25 Nov 2005 02:40:46 +0000 (02:40 +0000)
members.

src/face.c

index e8cd66a..5c97fc4 100644 (file)
@@ -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++)
        {