Merge branch 'master' of git://git.netsurf-browser.org/netsurf

This commit is contained in:
Ole Loots 2012-08-08 00:41:44 +02:00
commit 0b37b1a7e7
2 changed files with 2 additions and 4 deletions

View File

@ -1058,8 +1058,9 @@ css_error node_has_attribute_includes(void *pw, void *node,
const char *start;
const char *end;
*match = false;
if (vlen == 0) {
*match = false;
return CSS_OK;
}

View File

@ -468,9 +468,6 @@ struct form_control *html_forms_get_control_for_node(struct form *forms, dom_nod
dom_exception err;
dom_string *ds_name = NULL;
if (forms == NULL)
return NULL;
/* Step one, see if we already have a control */
for (f = forms; f != NULL; f = f->prev) {
for (ctl = f->controls; ctl != NULL; ctl = ctl->next) {