From: Ken Raeburn Date: Mon, 20 May 2002 08:06:52 +0000 (+0000) Subject: * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead X-Git-Tag: ttn-vms-21-2-B4~14959 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0b7231c4f3e857740a002ea1bb403e7ae782b354;p=emacs.git * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. --- diff --git a/src/xfns.c b/src/xfns.c index 7bf02c286a3..1e2cd65863a 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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)