aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2020-12-18 11:14:16 +0000
committerGitHub <noreply@github.com>2020-12-18 11:14:16 +0000
commit80f90cdb2cdc61097e2bfff216265fdfcdd39f4f (patch)
treed7b966cc276b3930634de39749a3f196010d664e
parentMerge pull request #158 from acli/20201217_zh_TW (diff)
parentq_level was never initialized, causing random test failures. This should fix ... (diff)
downloadw3m-80f90cdb2cdc61097e2bfff216265fdfcdd39f4f.tar.gz
w3m-80f90cdb2cdc61097e2bfff216265fdfcdd39f4f.zip
Merge pull request #159 from acli/20201217_q_level_fix
q_level fix (my fault)
-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;