[project @ 2005-08-31 20:29:11 by bursa]

Fix submitting of forms with more than one image button.

svn path=/import/netsurf/; revision=1856
This commit is contained in:
James Bursa 2005-08-31 20:29:11 +00:00
parent 005c5f32a8
commit 1481f4b7f0

View File

@ -299,6 +299,11 @@ bool form_successful_controls(struct form *form,
case GADGET_IMAGE: {
/* image */
if (control != submit_button)
/* only the activated submit button
* is successful */
continue;
const size_t len = strlen(control->name) + 3;
/* x */