aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2013-04-08 12:51:48 +0000
committerTatsuya Kinoshita <tats@debian.org>2013-04-08 12:51:48 +0000
commitb50a33cf9f139fefbad12315be3b604c376b1110 (patch)
treeee5ca40f8945cf21b48fc260b3ea62c440c6296b
parentSupport the siteconf feature (diff)
downloadw3m-b50a33cf9f139fefbad12315be3b604c376b1110.tar.gz
w3m-b50a33cf9f139fefbad12315be3b604c376b1110.zip
One more patch for siteconf from [w3m-dev 04464]
Diffstat (limited to '')
-rw-r--r--file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/file.c b/file.c
index 780f99c..22b76d9 100644
--- a/file.c
+++ b/file.c
@@ -5046,8 +5046,7 @@ HTMLtagproc1(struct parsed_tag *tag, struct html_feed_environ *h_env)
#if defined(USE_M17N) || defined(USE_IMAGE)
p = NULL;
if (parsedtag_get_value(tag, ATTR_HREF, &p)) {
- if (!cur_baseURL)
- cur_baseURL = New(ParsedURL);
+ cur_baseURL = New(ParsedURL);
parseURL(p, cur_baseURL, NULL);
}
#endif