From 7c2379772d5d7be68e0557a1d923d41e39e2c787 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 20 May 2002 08:05:48 +0000 Subject: [PATCH] * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. --- src/fontset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5