* map.c (follow_map_menu): if USE_IMAGE or MENU_MAP

* proto.h (follow_map_menu): ditto
From: Fumitoshi UKAI  <ukai@debian.or.jp>
This commit is contained in:
Fumitoshi UKAI
2003-01-20 15:54:08 +00:00
parent cc49eb7ecc
commit 48db009b76
3 changed files with 12 additions and 5 deletions

View File

@@ -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> 2003-01-21 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03660] Re: fputs -> Strfputs * [w3m-dev 03660] Re: fputs -> Strfputs
@@ -6642,4 +6647,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1 * release-0-2-1
* import w3m-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 $

6
map.c
View File

@@ -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 * client-side image maps
*/ */
@@ -196,15 +196,14 @@ retrieveCurrentMap(Buffer *buf)
return NULL; return NULL;
} }
#if defined(USE_IMAGE) || defined(MENU_MAP)
MapArea * MapArea *
follow_map_menu(Buffer *buf, char *name, Anchor *a_img, int x, int y) follow_map_menu(Buffer *buf, char *name, Anchor *a_img, int x, int y)
{ {
MapList *ml; MapList *ml;
ListItem *al; ListItem *al;
int i, selected = -1; int i, selected = -1;
#if defined(USE_IMAGE) || defined(MENU_MAP)
int initial = 0; int initial = 0;
#endif
#ifdef MENU_MAP #ifdef MENU_MAP
MapArea *a; MapArea *a;
char **label; char **label;
@@ -249,6 +248,7 @@ follow_map_menu(Buffer *buf, char *name, Anchor *a_img, int x, int y)
} }
return NULL; return NULL;
} }
#endif
#ifndef MENU_MAP #ifndef MENU_MAP
char *map1 = "<HTML><HEAD><TITLE>Image map links</TITLE></HEAD>\ char *map1 = "<HTML><HEAD><TITLE>Image map links</TITLE></HEAD>\

View File

@@ -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. * This file was automatically generated by version 1.7 of cextract.
* Manual editing not recommended. * Manual editing not recommended.
@@ -375,8 +375,10 @@ extern void form_write_from_file(FILE * f, char *boundary, char *name,
char *filename, char *file); char *filename, char *file);
extern MapList *searchMapList(Buffer *buf, char *name); extern MapList *searchMapList(Buffer *buf, char *name);
extern void follow_map(struct parsed_tagarg *arg); 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, extern MapArea *follow_map_menu(Buffer *buf, char *name, Anchor *a_img, int x,
int y); int y);
#endif
#ifndef MENU_MAP #ifndef MENU_MAP
extern Buffer *follow_map_panel(Buffer *buf, char *name); extern Buffer *follow_map_panel(Buffer *buf, char *name);
#endif #endif