Commit 7c237977 authored by Ken Raeburn's avatar Ken Raeburn
Browse files

* fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING

instead of XSYMBOL and name field.
parent c06583e1
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment