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

Use explicit names for variables in format_html_part().

llm -> saved_last_link_to_move
ltm -> saved_last_tag_to_move
ef  -> saved_empty_format
lm  -> saved_margin
This commit is contained in:
Laurent MONIN 2007-09-14 09:55:43 +02:00
parent 73b1f43468
commit a6f3323a4b

View File

@ -2095,10 +2095,10 @@ format_html_part(struct html_context *html_context,
{
struct part *part;
struct html_element *html_state;
int llm = renderer_context.last_link_to_move;
struct tag *ltm = renderer_context.last_tag_to_move;
int ef = renderer_context.empty_format;
int lm = html_context->margin;
int saved_last_link_to_move = renderer_context.last_link_to_move;
struct tag *saved_last_tag_to_move = renderer_context.last_tag_to_move;
int saved_empty_format = renderer_context.empty_format;
int saved_margin = html_context->margin;
/* Hash creation if needed. */
if (!table_cache) {
@ -2194,11 +2194,11 @@ format_html_part(struct html_context *html_context,
}
ret:
renderer_context.last_link_to_move = llm;
renderer_context.last_tag_to_move = ltm;
renderer_context.empty_format = ef;
renderer_context.last_link_to_move = saved_last_link_to_move;
renderer_context.last_tag_to_move = saved_last_tag_to_move;
renderer_context.empty_format = saved_empty_format;
html_context->margin = lm;
html_context->margin = saved_margin;
if (html_context->table_level > 1 && !document
&& table_cache