mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-01 03:36:26 -04:00
html_button(): drop suspect line which has nothing to do with BUTTON
html element.
This commit is contained in:
parent
59329dbc30
commit
eb74cdf6f9
@ -180,8 +180,6 @@ no_type_attr:
|
|||||||
if (!fc->default_value)
|
if (!fc->default_value)
|
||||||
fc->default_value = stracpy("");
|
fc->default_value = stracpy("");
|
||||||
|
|
||||||
/* XXX: Does this make sense here? Where do we get FC_IMAGE? */
|
|
||||||
if (fc->type == FC_IMAGE) fc->alt = get_attr_val(a, "alt", html_context->options);
|
|
||||||
html_context->special_f(html_context, SP_CONTROL, fc);
|
html_context->special_f(html_context, SP_CONTROL, fc);
|
||||||
format.form = fc;
|
format.form = fc;
|
||||||
format.style.attr |= AT_BOLD;
|
format.style.attr |= AT_BOLD;
|
||||||
|
Loading…
Reference in New Issue
Block a user