changeset 46440:dd231f1390d2

(Fset_fontset_font): Use SDATA instead of XSTRING()->data.
author Ken Raeburn <raeburn@raeburn.org>
date Tue, 16 Jul 2002 16:35:27 +0000
parents 255c2fbbad1f
children 2eb3c4881e5a
files src/fontset.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fontset.c	Tue Jul 16 16:24:59 2002 +0000
+++ b/src/fontset.c	Tue Jul 16 16:35:27 2002 +0000
@@ -1013,7 +1013,7 @@
     {
       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;
     }