aboutsummaryrefslogtreecommitdiffstats
path: root/map.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-20 15:54:08 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-20 15:54:08 +0000
commit48db009b76c15c79455b935660a3f6371df22336 (patch)
tree4233d432f1787951c0a32243c47bf5f13c6ad822 /map.c
parentfix indent (diff)
downloadw3m-48db009b76c15c79455b935660a3f6371df22336.tar.gz
w3m-48db009b76c15c79455b935660a3f6371df22336.zip
* map.c (follow_map_menu): if USE_IMAGE or MENU_MAP
* proto.h (follow_map_menu): ditto From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'map.c')
-rw-r--r--map.c6
1 files changed, 3 insertions, 3 deletions
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 = "<HTML><HEAD><TITLE>Image map links</TITLE></HEAD>\