Fix stupid

svn path=/trunk/netsurf/; revision=8275
This commit is contained in:
John Mark Bell 2009-07-02 23:05:10 +00:00
parent 1aeecf401c
commit 2dbf92761f

View File

@ -283,8 +283,9 @@ bool imagemap_extract(xmlNode *node, struct content *c)
xmlFree(name);
return true;
} else
} else if (node->type != XML_ELEMENT_NODE) {
return true;
}
/* now recurse */
for (this_node = node->children; this_node != NULL;
@ -364,7 +365,7 @@ bool imagemap_addtolist(xmlNode *n, char *base_url, struct mapentry **entry)
}
/* no href -> ignore */
if ((href = (char *) xmlGetProp(n, (const xmlChar*)"href")) == NULL) {
if ((href = (char *) xmlGetProp(n, (const xmlChar *) "href")) == NULL) {
return true;
}