From 48db009b76c15c79455b935660a3f6371df22336 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 20 Jan 2003 15:54:08 +0000 Subject: * map.c (follow_map_menu): if USE_IMAGE or MENU_MAP * proto.h (follow_map_menu): ditto From: Fumitoshi UKAI --- map.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'map.c') diff --git a/map.c b/map.c index 233c8a0..7ce2cbe 100644 --- a/map.c +++ b/map.c @@ -1,4 +1,4 @@ -/* $Id: map.c,v 1.25 2003/01/19 09:04:33 ukai Exp $ */ +/* $Id: map.c,v 1.26 2003/01/20 15:54:11 ukai Exp $ */ /* * client-side image maps */ @@ -196,15 +196,14 @@ retrieveCurrentMap(Buffer *buf) return NULL; } +#if defined(USE_IMAGE) || defined(MENU_MAP) MapArea * follow_map_menu(Buffer *buf, char *name, Anchor *a_img, int x, int y) { MapList *ml; ListItem *al; int i, selected = -1; -#if defined(USE_IMAGE) || defined(MENU_MAP) int initial = 0; -#endif #ifdef MENU_MAP MapArea *a; char **label; @@ -249,6 +248,7 @@ follow_map_menu(Buffer *buf, char *name, Anchor *a_img, int x, int y) } return NULL; } +#endif #ifndef MENU_MAP char *map1 = "Image map links\ -- cgit v1.2.3