Просмотр исходного кода

Don't `build` HTML tables

`build` only recalculates length and width information, and this is not
needed for HTML tables.
Feoramund 1 год назад
Родитель
Сommit
b66b960e7e
1 измененных файлов с 0 добавлено и 4 удалено
  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) {
 write_html_table :: proc(w: io.Writer, tbl: ^Table) {
-	if tbl.dirty {
-		build(tbl)
-	}
-
 	io.write_string(w, "<table>\n")
 	io.write_string(w, "<table>\n")
 	if tbl.caption != "" {
 	if tbl.caption != "" {
 		io.write_string(w, "<caption>")
 		io.write_string(w, "<caption>")