aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn2002-05-20 08:06:39 +0000
committerKen Raeburn2002-05-20 08:06:39 +0000
commit38b76195cecb971905e16bbef566e9c8a5e07c4b (patch)
tree4ad552e5778b012888b19afe2883c44e632ccc2a
parente923592f1819ddfbd12b2dc02fab77c5db4115a8 (diff)
downloademacs-38b76195cecb971905e16bbef566e9c8a5e07c4b.tar.gz
emacs-38b76195cecb971905e16bbef566e9c8a5e07c4b.zip
* w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME
and XSTRING instead of XSYMBOL and name field.
-rw-r--r--src/w32fns.c4
1 files changed, 2 insertions, 2 deletions
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)
8385 8385
8386 /* Find key in KEYWORDS. Error if not found. */ 8386 /* Find key in KEYWORDS. Error if not found. */
8387 for (i = 0; i < nkeywords; ++i) 8387 for (i = 0; i < nkeywords; ++i)
8388 if (strcmp (keywords[i].name, XSYMBOL (key)->name->data) == 0) 8388 if (strcmp (keywords[i].name, XSTRING (SYMBOL_NAME (key))->data) == 0)
8389 break; 8389 break;
8390 8390
8391 if (i == nkeywords) 8391 if (i == nkeywords)
@@ -14517,7 +14517,7 @@ w32_parse_hot_key (key)
14517 c = Fcar (c); 14517 c = Fcar (c);
14518 if (!SYMBOLP (c)) 14518 if (!SYMBOLP (c))
14519 abort (); 14519 abort ();
14520 vk_code = lookup_vk_code (XSYMBOL (c)->name->data); 14520 vk_code = lookup_vk_code (XSTRING (SYMBOL_NAME (c))->data);
14521 } 14521 }
14522 else if (INTEGERP (c)) 14522 else if (INTEGERP (c))
14523 { 14523 {