changeset 45411:33a7c706dc9c

* w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
author Ken Raeburn <raeburn@raeburn.org>
date Mon, 20 May 2002 08:06:39 +0000
parents 72796bd8bdb5
children 8c610da8ea94
files src/w32fns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Mon May 20 08:06:32 2002 +0000
+++ b/src/w32fns.c	Mon May 20 08:06:39 2002 +0000
@@ -8385,7 +8385,7 @@
 
       /* 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 @@
       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))
     {