1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

end_element: inconsequential code shuffling

This commit is contained in:
Miciah Dashiel Butler Masters 2006-05-27 03:22:09 +00:00 committed by Miciah Dashiel Butler Masters
parent 03fde090cf
commit 0f2982aa5d

View File

@ -904,13 +904,13 @@ end_element(struct element_info *ei,
int lnb = 0;
int kill = 0;
if (ei->open == html_xmp) html_context->was_xmp = 0;
if (ei->open == html_style) html_context->was_style = 0;
html_context->was_br = 0;
if (ei->type == ET_NON_PAIRABLE || ei->type == ET_LI)
return html;
if (ei->open == html_xmp) html_context->was_xmp = 0;
if (ei->open == html_style) html_context->was_style = 0;
/* Apply background color from the <HTML> element. (bug 696) */
if (ei->open == html_html
&& html_top->type >= ELEMENT_KILLABLE