aboutsummaryrefslogtreecommitdiff
path: root/src/form.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-14 21:58:05 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-14 21:58:05 +0100
commitbdd5c393602dd2f49fb71e33f5e643175a000727 (patch)
tree3aba48c63c685b969e454cbe947f82bbc5adef6e /src/form.cc
parentc320585dddc168f79fe502dfa504fcec188b2329 (diff)
convert Html_tag_open_img()
Diffstat (limited to 'src/form.cc')
-rw-r--r--src/form.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/form.cc b/src/form.cc
index b1f54c02..c222566e 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -1914,8 +1914,7 @@ static Embed *Html_input_image(DilloHtml *html, const char *tag, int tagsize)
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, &style_attrs,
- false))) {
+ if ((Image = a_Html_add_new_image(html, tag, tagsize, url, false))) {
Style *style = Style::create (HT2LT(html), &style_attrs);
IM2DW(Image)->setStyle (style);
ResourceFactory *factory = HT2LT(html)->getResourceFactory();