From a97569cbf284dc18f285174194de1fa55cc3ee3a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 5 Oct 2001 09:51:48 +0000 Subject: Use SYMBOL_VALUE/ SET_SYMBOL_VALUE macros instead of accessing symbols' value directly. --- src/sunfns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sunfns.c') diff --git a/src/sunfns.c b/src/sunfns.c index 065e249082..c526100257 100644 --- a/src/sunfns.c +++ b/src/sunfns.c @@ -1,5 +1,5 @@ /* Functions for Sun Windows menus and selection buffer. - Copyright (C) 1987, 1999 Free Software Foundation, Inc. + Copyright (C) 1987, 1999, 2001 Free Software Foundation, Inc. This file is probably totally obsolete. In any case, the FSF is unwilling to support it. We agreed to include it in our distribution @@ -366,7 +366,7 @@ sun_item_create (Pair) CHECK_STRING(String, 0); Value = Fcdr(Pair); if (SYMBOLP (Value)) - Value = XSYMBOL(Value)->value; + Value = SYMBOL_VALUE (Value); if (VECTORP (Value)) { submenu = sun_menu_create (Value); menu_item = menu_create_item -- cgit v1.2.3