From: Ken Raeburn Date: Mon, 20 May 2002 08:05:48 +0000 (+0000) Subject: * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING X-Git-Tag: ttn-vms-21-2-B4~14970 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7c2379772d5d7be68e0557a1d923d41e39e2c787;p=emacs.git * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. --- diff --git a/src/fontset.c b/src/fontset.c index 6679b1f728f..b79010e7bc2 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -1013,7 +1013,7 @@ name of a font, REGISTRY is a registry name of a font. */) { 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; }