aboutsummaryrefslogtreecommitdiffstats
path: root/history.c
diff options
context:
space:
mode:
authorAkinori Ito <aito@eie.yz.yamagata-u.ac.jp>2001-11-09 04:59:17 +0000
committerAkinori Ito <aito@eie.yz.yamagata-u.ac.jp>2001-11-09 04:59:17 +0000
commit6c63633545c254dc085402e0f927a6826d1dd229 (patch)
tree0126fb5598304c713ea1276e294da9098b5df3b4 /history.c
parentInitial revision (diff)
downloadw3m-6c63633545c254dc085402e0f927a6826d1dd229.tar.gz
w3m-6c63633545c254dc085402e0f927a6826d1dd229.zip
Updates from 0.2.1 into 0.2.1-inu-1.5release-0-2-1-inu-1-5
Diffstat (limited to '')
-rw-r--r--history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/history.c b/history.c
index 73c59a6..433b00b 100644
--- a/history.c
+++ b/history.c
@@ -14,7 +14,7 @@ historyBuffer(Hist * hist)
Strcat_charp(src, "<ol>\n");
if (hist && hist->list) {
for (item = hist->list->last; item; item = item->prev) {
- q = htmlquote_str((char *)item->ptr);
+ q = html_quote((char *)item->ptr);
Strcat_charp(src, "<li><a href=\"");
Strcat_charp(src, q);
Strcat_charp(src, "\">");
@@ -44,7 +44,7 @@ loadHistory(Hist * hist)
Strremovetrailingspaces(line);
if (line->length == 0)
continue;
- pushHist(hist, line->ptr);
+ pushHist(hist, url_quote(line->ptr));
}
fclose(f);
}