Bladeren bron

Don't `build` HTML tables

`build` only recalculates length and width information, and this is not
needed for HTML tables.
Feoramund 1 jaar geleden
bovenliggende
commit
b66b960e7e
1 gewijzigde bestanden met toevoegingen van 0 en 4 verwijderingen
  1. 0 4
      core/text/table/table.odin

+ 0 - 4
core/text/table/table.odin

@@ -198,10 +198,6 @@ build :: proc(tbl: ^Table) {
 }
 
 write_html_table :: proc(w: io.Writer, tbl: ^Table) {
-	if tbl.dirty {
-		build(tbl)
-	}
-
 	io.write_string(w, "<table>\n")
 	if tbl.caption != "" {
 		io.write_string(w, "<caption>")