aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorAmbrose Li <ambrose.li@gmail.com>2020-12-18 02:51:42 +0000
committerAmbrose Li <ambrose.li@gmail.com>2020-12-18 02:51:42 +0000
commitec722e7a5336ba3ad42dedbfb60c692e325a6d04 (patch)
tree54dea627591db74ff48ce4703a2f0339d69fd544 /file.c
parentUpdate ChangeLog (diff)
downloadw3m-ec722e7a5336ba3ad42dedbfb60c692e325a6d04.tar.gz
w3m-ec722e7a5336ba3ad42dedbfb60c692e325a6d04.zip
q_level was never initialized, causing random test failures. This should fix that
Diffstat (limited to '')
-rw-r--r--file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.c b/file.c
index 4a46513..78987e9 100644
--- a/file.c
+++ b/file.c
@@ -7023,6 +7023,7 @@ init_henv(struct html_feed_environ *h_env, struct readbuffer *obuf,
obuf->status = R_ST_NORMAL;
obuf->table_level = -1;
obuf->nobr_level = 0;
+ obuf->q_level = 0;
bzero((void *)&obuf->anchor, sizeof(obuf->anchor));
obuf->img_alt = 0;
obuf->input_alt.hseq = 0;