From 20cddf4e9f1469805d3291456d65c095e3727a30 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 16 Jul 2002 16:35:27 +0000 Subject: [PATCH] (Fset_fontset_font): Use SDATA instead of XSTRING()->data. --- src/fontset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontset.c b/src/fontset.c index a69ae807af6..2f2b221d782 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", (XSTRING (SYMBOL_NAME (character)))->data); + error ("Invalid charset: %s", SDATA (SYMBOL_NAME (character))); from = MAKE_CHAR (XINT (AREF (elt, 0)), 0, 0); to = from; } -- 2.39.5