Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/6d585308f8ae421261bcb41b12bb872f5949abc7
...commit
http://git.netsurf-browser.org/netsurf.git/commit/6d585308f8ae421261bcb41b12bb872f5949abc7
...tree
http://git.netsurf-browser.org/netsurf.git/tree/6d585308f8ae421261bcb41b12bb872f5949abc7
The branch, master has been updated
via 6d585308f8ae421261bcb41b12bb872f5949abc7 (commit)
from 6205c62ba3d7b1d16d009ad72077735b227fb315 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commitdiff/6d585308f8ae421261bcb41b12bb872f5949abc7
commit 6d585308f8ae421261bcb41b12bb872f5949abc7
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Fix handling of form elements without a <form>.
diff --git a/render/html_forms.c b/render/html_forms.c
index 9ae8138..fc2bcaf 100644
--- a/render/html_forms.c
+++ b/render/html_forms.c
@@ -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) {
-----------------------------------------------------------------------
Summary of changes:
render/html_forms.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/render/html_forms.c b/render/html_forms.c
index 9ae8138..fc2bcaf 100644
--- a/render/html_forms.c
+++ b/render/html_forms.c
@@ -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) {
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org