aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--map.c6
-rw-r--r--proto.h4
3 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index e6e00c9..2e1dcd7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-21 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * map.c (follow_map_menu): if USE_IMAGE or MENU_MAP
+ * proto.h (follow_map_menu): ditto
+
2003-01-21 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03660] Re: fputs -> Strfputs
@@ -6642,4 +6647,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.696 2003/01/20 15:30:18 ukai Exp $
+$Id: ChangeLog,v 1.697 2003/01/20 15:54:08 ukai Exp $
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>\
diff --git a/proto.h b/proto.h
index db1256e..d91f8db 100644
--- a/proto.h
+++ b/proto.h
@@ -1,4 +1,4 @@
-/* $Id: proto.h,v 1.81 2003/01/20 15:30:20 ukai Exp $ */
+/* $Id: proto.h,v 1.82 2003/01/20 15:54:11 ukai Exp $ */
/*
* This file was automatically generated by version 1.7 of cextract.
* Manual editing not recommended.
@@ -375,8 +375,10 @@ extern void form_write_from_file(FILE * f, char *boundary, char *name,
char *filename, char *file);
extern MapList *searchMapList(Buffer *buf, char *name);
extern void follow_map(struct parsed_tagarg *arg);
+#if defined(MENU_MAP) || defined(USE_IMAGE)
extern MapArea *follow_map_menu(Buffer *buf, char *name, Anchor *a_img, int x,
int y);
+#endif
#ifndef MENU_MAP
extern Buffer *follow_map_panel(Buffer *buf, char *name);
#endif