shithub: riscv

Download patch

ref: 4d4b825dea3c41bdad7d10ae32e7d04c1a3712d0
parent: b55315c3fd5d745a3c5b15991dfa1c8c5da7a5ae
author: cinap_lenrek <[email protected]>
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;