From b442163d0dfd0b6e1c391ea0c0adf5cba67162bd Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 27 Sep 1994 01:21:05 +0000 Subject: [PATCH] (sun_item_create): Use type test macros. --- src/sunfns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sunfns.c b/src/sunfns.c index 6112fbae2b4..57c3e64a3a4 100644 --- a/src/sunfns.c +++ b/src/sunfns.c @@ -364,9 +364,9 @@ sun_item_create (Pair) String = Fcar(Pair); CHECK_STRING(String, 0); Value = Fcdr(Pair); - if(XTYPE(Value) == Lisp_Symbol) + if (SYMBOLP (Value)) Value = XSYMBOL(Value)->value; - if(XTYPE(Value) == Lisp_Vector) { + if (VECTORP (Value)) { submenu = sun_menu_create (Value); menu_item = menu_create_item (MENU_RELEASE, MENU_PULLRIGHT_ITEM, XSTRING(String)->data, submenu, 0); -- 2.39.5