diff options
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ void html_option(char *value, char *text, char *selected_value) | |||
132 | html_attr(value); | 132 | html_attr(value); |
133 | html("'"); | 133 | html("'"); |
134 | if (selected_value && !strcmp(selected_value, value)) | 134 | if (selected_value && !strcmp(selected_value, value)) |
135 | html(" selected"); | 135 | html(" selected='selected'"); |
136 | html(">"); | 136 | html(">"); |
137 | html_txt(text); | 137 | html_txt(text); |
138 | html("</option>\n"); | 138 | html("</option>\n"); |