diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-20 15:54:08 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-20 15:54:08 +0000 |
commit | 48db009b76c15c79455b935660a3f6371df22336 (patch) | |
tree | 4233d432f1787951c0a32243c47bf5f13c6ad822 /map.c | |
parent | fix indent (diff) | |
download | w3m-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 '')
-rw-r--r-- | map.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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>\ |