changeset 90475:b19205fb08bd

(Finternal_char_font): Use font_get_name, not Ffont_xlfd_name.
author Kenichi Handa <handa@m17n.org>
date Mon, 19 Jun 2006 01:35:46 +0000
parents 8627c9321afb
children 017a6aec5d77
files src/fontset.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fontset.c	Mon Jun 19 01:34:55 2006 +0000
+++ b/src/fontset.c	Mon Jun 19 01:35:46 2006 +0000
@@ -2073,7 +2073,7 @@
 	  Lisp_Object font_object = AREF (rfont_def, 4);
 	  struct font *font = XSAVE_VALUE (font_object)->pointer;
 	  unsigned code = font->driver->encode_char (font, c);
-	  Lisp_Object fontname = Ffont_xlfd_name (font_object);
+	  Lisp_Object fontname = font_get_name (font_object);
 
 	  if (code == FONT_INVALID_CODE)
 	    return Fcons (fontname, Qnil);