aboutsummaryrefslogtreecommitdiff
path: root/src/form.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/form.cc')
-rw-r--r--src/form.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/form.cc b/src/form.cc
index 6f272b8f..8ec340bb 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -823,6 +823,14 @@ void Html_tag_open_option(DilloHtml *html, const char *tag, int tagsize)
a_Html_stash_init(html);
}
+void Html_tag_close_option(DilloHtml *html)
+{
+ if (html->InFlags & IN_OPTION) {
+ Html_option_finish(html);
+ html->InFlags &= ~IN_OPTION;
+ }
+}
+
/*
* <BUTTON>
*/