aboutsummaryrefslogtreecommitdiffstats
path: root/buffer.c
diff options
context:
space:
mode:
authorBen Wong <bugs.debian.org@wongs.net>2018-10-26 12:34:19 +0000
committerTatsuya Kinoshita <tats@debian.org>2018-10-26 12:34:19 +0000
commit94ab9857e9e7ef026c74b67b7a880f2d95125d06 (patch)
tree2da7f8b0bbae850b0aa73bb3bb01bab9de06c92f /buffer.c
parentUpdate ChangeLog (diff)
downloadw3m-94ab9857e9e7ef026c74b67b7a880f2d95125d06.tar.gz
w3m-94ab9857e9e7ef026c74b67b7a880f2d95125d06.zip
Fix that the MarkAllPages option works as originally intended
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911929
Diffstat (limited to '')
-rw-r--r--buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/buffer.c b/buffer.c
index 3b2352a..e70cffe 100644
--- a/buffer.c
+++ b/buffer.c
@@ -47,6 +47,8 @@ newBuffer(int width)
#ifdef USE_M17N
n->auto_detect = WcOption.auto_detect;
#endif
+ n->check_url = MarkAllPages; /* use default from -o mark_all_pages */
+ n->need_reshape = 1; /* always reshape new buffers to mark URLs */
return n;
}