1
0
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:
Laurent MONIN 2005-12-05 09:57:54 +01:00 committed by Laurent MONIN
parent 59329dbc30
commit eb74cdf6f9

View File

@ -180,8 +180,6 @@ no_type_attr:
if (!fc->default_value)
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);
format.form = fc;
format.style.attr |= AT_BOLD;