w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 04778aee7f89b0ac72c02f36a803605fb10187ce
parent 6c85c923eca60421d40d572f89a0bdcdf0a56777
Author: ukai <ukai>
Date:   Mon, 20 Jan 2003 15:54:08 +0000

* 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:
MChangeLog | 5+++++
Mmap.c | 4++--
Mproto.h | 2++
3 files changed, 9 insertions(+), 2 deletions(-)

diff --git 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 diff --git a/map.c b/map.c @@ -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 @@ -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