summaryrefslogtreecommitdiffabout
path: root/html.c
Unidiff
Diffstat (limited to 'html.c') (more/less context) (ignore whitespace changes)
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index d531c20..339bf00 100644
--- a/html.c
+++ b/html.c
@@ -119,13 +119,13 @@ void html_hidden(char *name, char *value)
119void html_option(char *value, char *text, char *selected_value) 119void html_option(char *value, char *text, char *selected_value)
120{ 120{
121 html("<option value='"); 121 html("<option value='");
122 html_attr(value); 122 html_attr(value);
123 html("'"); 123 html("'");
124 if (selected_value && !strcmp(selected_value, value)) 124 if (selected_value && !strcmp(selected_value, value))
125 html(" selected"); 125 html(" selected='selected'");
126 html(">"); 126 html(">");
127 html_txt(text); 127 html_txt(text);
128 html("</option>\n"); 128 html("</option>\n");
129} 129}
130 130
131void html_link_open(char *url, char *title, char *class) 131void html_link_open(char *url, char *title, char *class)