git: 9front

Download patch

ref: 605e42d2c1af2ae2561761f6c5cba42d9a292eda
parent: 5fca70da60785f392f8bbd92f992f86382e23e28
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Sep 6 20:13:40 EDT 2015

mothra: add missing initializations for plaintext html state

--- a/sys/src/cmd/mothra/rdhtml.c
+++ b/sys/src/cmd/mothra/rdhtml.c
@@ -682,6 +682,10 @@
 	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;
--