diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-09-07 00:13:40 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-09-07 00:13:40 +0200 |
commit | 4d4b825dea3c41bdad7d10ae32e7d04c1a3712d0 (patch) | |
tree | 67c30523f6cd81a02a8f8fb5a00149c9c3b66d4b /sys/src/cmd/mothra | |
parent | b55315c3fd5d745a3c5b15991dfa1c8c5da7a5ae (diff) |
mothra: add missing initializations for plaintext html state
Diffstat (limited to 'sys/src/cmd/mothra')
-rw-r--r-- | sys/src/cmd/mothra/rdhtml.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/src/cmd/mothra/rdhtml.c b/sys/src/cmd/mothra/rdhtml.c index d415aacbe..bbb3f7103 100644 --- a/sys/src/cmd/mothra/rdhtml.c +++ b/sys/src/cmd/mothra/rdhtml.c @@ -682,6 +682,10 @@ void plrdplain(char *name, int fd, Www *dst){ g.state->margin=0; g.state->indent=20; g.state->ismap=0; + g.state->isscript=0; + g.state->strike=0; + g.state->width=0; + g.state->height=0; g.dst=dst; g.hfd=fd; g.name=name; |