summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-01-21 23:53:44 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-01-21 23:53:44 +0000
commitaba82a97affeb6a34eee019c596efa3f6761c5f7 (patch)
tree0aa6a03315c01882ab4b51aa7ea64490c09d9e68
parent5b0ad574b68b21ceef4ea167163c0a10d1d13d71 (diff)
downloadnetsurf-aba82a97affeb6a34eee019c596efa3f6761c5f7.tar.gz
netsurf-aba82a97affeb6a34eee019c596efa3f6761c5f7.tar.bz2
Yeah, so it helps if you get the conditional correct.
svn path=/trunk/netsurf/; revision=9859
-rw-r--r--render/favicon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/favicon.c b/render/favicon.c
index 4b9d381a6..ec5caeae0 100644
--- a/render/favicon.c
+++ b/render/favicon.c
@@ -190,7 +190,7 @@ void favicon_callback(content_msg msg, struct content *icon,
if (icon->type == *type)
break;
- if (*type != CONTENT_UNKNOWN) {
+ if (*type == CONTENT_UNKNOWN) {
c->data.html.favicon = 0;
LOG(("%s is not a favicon", icon->url));
content_add_error(c, "NotFavIco", 0);