diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-30 04:56:00 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-30 04:56:00 +0000 |
commit | 8bd2f7b4d9d66fa52ddb8bf199e56870a255d335 (patch) | |
tree | 8db55a8990d916bedfc670c50484de89535b3567 | |
parent | [w3m-dev 02589] (diff) | |
download | w3m-8bd2f7b4d9d66fa52ddb8bf199e56870a255d335.tar.gz w3m-8bd2f7b4d9d66fa52ddb8bf199e56870a255d335.zip |
[w3m-dev 02590]
From: Tsutomu Okada <okada@furuno.co.jp>
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | main.c | 8 |
2 files changed, 10 insertions, 3 deletions
@@ -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] @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.26 2001/11/29 09:34:15 ukai Exp $ */ +/* $Id: main.c,v 1.27 2001/11/30 04:56:00 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -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; } |