diff options
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ void html_option(char *value, char *text, char *selected_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"); |