Commit 0b7231c4 authored by Ken Raeburn's avatar Ken Raeburn
Browse files

* xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead

of XSYMBOL and name field.
parent cce200a7
......@@ -5664,7 +5664,7 @@ parse_image_spec (spec, keywords, nkeywords, type)
/* Find key in KEYWORDS. Error if not found. */
for (i = 0; i < nkeywords; ++i)
if (strcmp (keywords[i].name, XSYMBOL (key)->name->data) == 0)
if (strcmp (keywords[i].name, XSTRING (SYMBOL_NAME (key))->data) == 0)
break;
if (i == nkeywords)
......
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