Commit 38b76195 authored by Ken Raeburn's avatar Ken Raeburn

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

and XSTRING instead of XSYMBOL and name field.
parent e923592f
......@@ -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))
{
......
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