changeset 181:da443771b424

.
author jcid
date Tue, 15 Apr 2008 17:54:37 +0200
parents 0038a2943cc2
children 74c4790ef5f9
files src/html.cc
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/html.cc	Tue Apr 15 17:43:17 2008 +0200
+++ b/src/html.cc	Tue Apr 15 17:54:37 2008 +0200
@@ -4455,8 +4455,9 @@
          Html_load_image(html->bw, url, Image);
       }
    }
-  
-   DEBUG_MSG(10, "Html_input_image: unable to create image submit.\n");
+
+   if (!button)
+      DEBUG_MSG(10, "Html_input_image: unable to create image submit.\n");
    a_Url_free(url);
    return button;
 }