1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-17 11:32:59 -07:00

* w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME

and XSTRING instead of XSYMBOL and name field.
This commit is contained in:
Ken Raeburn 2002-05-20 08:06:39 +00:00
parent e923592f18
commit 38b76195ce

View file

@ -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))
{