From: Ken Raeburn Date: Mon, 20 May 2002 08:06:39 +0000 (+0000) Subject: * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME X-Git-Tag: ttn-vms-21-2-B4~14961 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=38b76195cecb971905e16bbef566e9c8a5e07c4b;p=emacs.git * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. --- diff --git a/src/w32fns.c b/src/w32fns.c index 91d5b3ab878..a19aa953f37 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -8385,7 +8385,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) @@ -14517,7 +14517,7 @@ w32_parse_hot_key (key) c = Fcar (c); if (!SYMBOLP (c)) abort (); - vk_code = lookup_vk_code (XSYMBOL (c)->name->data); + vk_code = lookup_vk_code (XSTRING (SYMBOL_NAME (c))->data); } else if (INTEGERP (c)) {