diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-01-14 18:49:19 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-01-14 18:49:19 -0300 |
commit | 0058f32eb536c7c286a6366da9e517e58dbe4a69 (patch) | |
tree | 18d6906cd799018ae517fa8dfae0e9a03c1cfe50 /src/form.cc | |
parent | 952f0fed9ae8df6434d1b613b98fa48d2c698332 (diff) |
Fix: inherit bgcolor from parent widget (images). Also cleanups.
Diffstat (limited to 'src/form.cc')
-rw-r--r-- | src/form.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/form.cc b/src/form.cc index 2f8b320a..7d06f207 100644 --- a/src/form.cc +++ b/src/form.cc @@ -1947,8 +1947,6 @@ static Embed *Html_input_image(DilloHtml *html, const char *tag, int tagsize) (url = a_Html_url_new(html, attrbuf, NULL, 0))) { style_attrs = *html->styleEngine->style (); style_attrs.cursor = CURSOR_POINTER; - style_attrs.backgroundColor = - style::Color::create (HT2LT(html), S_TOP(html)->current_bg_color); /* create new image and add it to the button */ if ((Image = a_Html_add_new_image(html, tag, tagsize, url, false))) { |