diff options
Diffstat (limited to 'src/form.cc')
-rw-r--r-- | src/form.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/form.cc b/src/form.cc index 1575dfe4..920bc548 100644 --- a/src/form.cc +++ b/src/form.cc @@ -549,6 +549,7 @@ void Html_tag_open_input(DilloHtml *html, const char *tag, int tagsize) // strtol(attrbuf, NULL, 10)); } HT2TB(html)->addWidget (embed, html->styleEngine->backgroundStyle()); + html->PrevWasSPC = false; } dFree(type); dFree(name); @@ -592,6 +593,7 @@ void Html_tag_open_isindex(DilloHtml *html, const char *tag, int tagsize) Html_add_input(html, DILLO_HTML_INPUT_INDEX, embed, NULL, NULL, FALSE); HT2TB(html)->addWidget (embed, html->styleEngine->backgroundStyle ()); + html->PrevWasSPC = false; a_Url_free(action); html->InFlags &= ~IN_FORM; @@ -660,6 +662,7 @@ void Html_tag_open_textarea(DilloHtml *html, const char *tag, int tagsize) Html_add_input(html, DILLO_HTML_INPUT_TEXTAREA, embed, name, NULL, false); HT2TB(html)->addWidget (embed, html->styleEngine->backgroundStyle ()); + html->PrevWasSPC = false; dFree(name); } @@ -746,6 +749,7 @@ void Html_tag_open_select(DilloHtml *html, const char *tag, int tagsize) HT2TB(html)->addWidget (embed, html->styleEngine->backgroundStyle ()); Html_add_input(html, type, embed, name, NULL, false); + html->PrevWasSPC = false; a_Html_stash_init(html); dFree(name); } @@ -1910,6 +1914,7 @@ static Embed *Html_input_image(DilloHtml *html, const char *tag, int tagsize) factory->createComplexButtonResource(IM2DW(Image), false); button = new Embed(complex_b_r); HT2TB(html)->addWidget (button, html->styleEngine->style ()); + html->PrevWasSPC = false; // gtk_widget_set_sensitive(widget, FALSE); /* Until end of FORM! */ /* a right button press brings up the image menu */ |