mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 05:27:00 +03:00
[project @ 2004-04-01 18:29:42 by bursa]
Fix bug with submission of forms with no successful controls. svn path=/import/netsurf/; revision=696
This commit is contained in:
parent
63aa08c54e
commit
e4269c8903
@ -52,6 +52,7 @@ struct form_successful_control *form_successful_controls(struct form *form,
|
||||
struct form_option *option;
|
||||
struct form_successful_control sentinel, *last_success;
|
||||
last_success = &sentinel;
|
||||
sentinel.next = 0;
|
||||
|
||||
for (control = form->controls; control; control = control->next) {
|
||||
struct form_successful_control *success_new;
|
||||
|
Loading…
Reference in New Issue
Block a user