mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 05:27:00 +03:00
[project @ 2004-10-09 19:14:26 by jmb]
Work around issue with selected radio buttons/checkboxes having no current value svn path=/import/netsurf/; revision=1308
This commit is contained in:
parent
0685aeaa3f
commit
bd17f8b9d1
@ -159,11 +159,16 @@ bool form_successful_controls(struct form *form,
|
||||
continue;
|
||||
value = strdup(control->value);
|
||||
if (!value) {
|
||||
LOG(("failed to duplicate value"
|
||||
"'%s' for control %s",
|
||||
/* no current value -> use "" */
|
||||
value = strdup("");
|
||||
if (!value) {
|
||||
LOG(("failed to duplicate"
|
||||
"value '%s' for"
|
||||
"control %s",
|
||||
control->value,
|
||||
control->name));
|
||||
goto no_memory;
|
||||
goto no_memory;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user