w3m

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

commit 266def362a8d116a4f69c4efbbef2cfeb1a78d77
parent bb70e5fa7bb65ccdb8e8bea2eee424ffe03437ec
Author: ukai <ukai>
Date:   Fri, 30 Nov 2001 04:56:00 +0000

[w3m-dev 02590]
From: Tsutomu Okada <okada@furuno.co.jp>

Diffstat:
MChangeLog | 5+++++
Mmain.c | 6++++--
2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-30 Tsutomu Okada <okada@furuno.co.jp> + + * [w3m-dev 02590] + * main.c (_peekURL): peek URL on <input type="image"> + 2001-11-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> * [w3m-dev 02589] diff --git a/main.c b/main.c @@ -3763,13 +3763,15 @@ _peekURL(int only_img) } a = (only_img ? NULL : retrieveCurrentAnchor(Currentbuf)); if (a == NULL) { - a = retrieveCurrentImg(Currentbuf); + a = (only_img ? NULL :retrieveCurrentForm(Currentbuf)); if (a == NULL) { - a = retrieveCurrentForm(Currentbuf); + a = retrieveCurrentImg(Currentbuf); if (a == NULL) { s = NULL; return; } + } + else { s = Strnew_charp(form2str((FormItemList *)a->url)); goto disp; }