diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-06 15:07:40 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-06 15:07:40 +0000 |
commit | 9dfa6e334ab7c5175473aa252ea7846202665918 (patch) | |
tree | 887b22625a396d06e0225f338bfdcb773daf979b /fm.h | |
parent | fix indent (diff) | |
download | w3m-9dfa6e334ab7c5175473aa252ea7846202665918.tar.gz w3m-9dfa6e334ab7c5175473aa252ea7846202665918.zip |
[w3m-dev 03383] Select the nearest map area as default.
* fm.h (MapArea): add center_x, center_y
* map.c (nearestMapArea): added
(follow_map_menu): initial by nearestMapArea()
(newMapArea): set center_x, center_y
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'fm.h')
-rw-r--r-- | fm.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: fm.h,v 1.70 2002/11/05 17:54:39 ukai Exp $ */ +/* $Id: fm.h,v 1.71 2002/11/06 15:07:40 ukai Exp $ */ /* * w3m: WWW wo Miru utility * @@ -292,6 +292,8 @@ typedef struct _MapArea { char shape; short *coords; int ncoords; + short center_x; + short center_y; #endif #endif } MapArea; |