aboutsummaryrefslogtreecommitdiff
path: root/src/form.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/form.cc')
-rw-r--r--src/form.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/form.cc b/src/form.cc
index eb4c3e59..9f1a7040 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -1911,7 +1911,7 @@ static Embed *Html_input_image(DilloHtml *html, const char *tag, int tagsize)
html->styleEngine->setPseudoLink ();
/* create new image and add it to the button */
- if ((Image = a_Html_add_new_image(html, tag, tagsize, url, false))) {
+ if ((Image = a_Html_image_new(html, tag, tagsize, url))) {
IM2DW(Image)->setStyle (html->styleEngine->style ());
ResourceFactory *factory = HT2LT(html)->getResourceFactory();
ComplexButtonResource *complex_b_r =