diff options
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c index 6c9cc8b..eb163d9 100644 --- a/html.c +++ b/html.c | |||
@@ -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"); |