summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/html.c b/html.c
index dda387a..af054a7 100644
--- a/html.c
+++ b/html.c
@@ -1451,6 +1451,7 @@ xs_html *html_checkbox(const char *form_name, const char *label, int flag)
1451 xs_html_sctag("input", 1451 xs_html_sctag("input",
1452 xs_html_attr("type", "checkbox"), 1452 xs_html_attr("type", "checkbox"),
1453 xs_html_attr("name", form_name), 1453 xs_html_attr("name", form_name),
1454 xs_html_attr("id", form_name),
1454 xs_html_attr(flag ? "checked" : "", NULL)), 1455 xs_html_attr(flag ? "checked" : "", NULL)),
1455 xs_html_tag("label", 1456 xs_html_tag("label",
1456 xs_html_attr("for", form_name), 1457 xs_html_attr("for", form_name),