changeset 102417:5a5d05398f9e

(fontset_find_font): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Thu, 05 Mar 2009 12:40:18 +0000
parents 6c045af4e5ae
children b14d67d22033
files src/fontset.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/fontset.c	Thu Mar 05 12:27:04 2009 +0000
+++ b/src/fontset.c	Thu Mar 05 12:40:18 2009 +0000
@@ -631,8 +631,7 @@
 	  if (! EQ (RFONT_DEF_FONT_DEF (rfont_def), font_def))
 	    break;
 	  font_object = RFONT_DEF_OBJECT (AREF (vec, i));
-	  xassert (! NILP (font_object));
-	  if (font_has_char (f, font_object, c))
+	  if (! NILP (font_object) && font_has_char (f, font_object, c))
 	    return rfont_def;
 	}