diff options
Diffstat (limited to '')
-rw-r--r-- | map.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: map.c,v 1.5 2002/01/31 17:54:52 ukai Exp $ */ +/* $Id: map.c,v 1.6 2002/01/31 18:28:24 ukai Exp $ */ /* * client-side image maps */ @@ -69,7 +69,9 @@ follow_map_menu(Buffer *buf, struct parsed_tagarg *arg, Anchor *a_img, int x, char *name; int i, n, selected = -1, initial; char **label; +#ifdef USE_IMAGE int px, py, map = 0; +#endif name = tag_get_value(arg, "link"); if (name == NULL) @@ -195,9 +197,11 @@ newMapArea(char *url, char *alt, char *shape, char *coords) { MapArea *a = New(MapArea); #ifdef MENU_MAP +#ifdef USE_IMAGE char *p; int i, max; #endif +#endif a->url = url; a->alt = alt ? alt : ""; |