changeset 45402:882bb5e37bbb

* fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
author Ken Raeburn <raeburn@raeburn.org>
date Mon, 20 May 2002 08:05:48 +0000
parents 317e23417505
children afd76daeaeef
files src/fontset.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fontset.c	Mon May 20 08:05:43 2002 +0000
+++ b/src/fontset.c	Mon May 20 08:05:48 2002 +0000
@@ -1013,7 +1013,7 @@
     {
       elt = Fget (character, Qcharset);
       if (!VECTORP (elt) || ASIZE (elt) < 1 || !NATNUMP (AREF (elt, 0)))
-	error ("Invalid charset: %s", (XSYMBOL (character)->name)->data);
+	error ("Invalid charset: %s", (XSTRING (SYMBOL_NAME (character)))->data);
       from = MAKE_CHAR (XINT (AREF (elt, 0)), 0, 0);
       to = from;
     }