w3m

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

commit 1e9f568ee0eec4235a3fcd0fa07c87f7de8485ae
parent 8658872a18bebf529cdd1c4ae1cd3a550a630604
Author: ukai <ukai>
Date:   Tue, 27 Nov 2001 04:45:28 +0000

[w3m-dev 02572] _peekURL() bug
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>

Diffstat:
MChangeLog | 5+++++
Mmain.c | 4+++-
2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 02572] + * main.c (_peekURL): initialize s when anchor not found + 2001-11-27 aito@fw.ipsj.or.jp * Error correction on doc-jp/FAQ.html diff --git a/main.c b/main.c @@ -3768,8 +3768,10 @@ _peekURL(int only_img) a = retrieveCurrentImg(Currentbuf); if (a == NULL) { a = retrieveCurrentForm(Currentbuf); - if (a == NULL) + if (a == NULL) { + s = NULL; return; + } s = Strnew_charp(form2str((FormItemList *)a->url)); goto disp; }