From e914ca85fe5df735f42d933388270c7cc259228c Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Fri, 14 Sep 2007 09:55:43 +0200 Subject: [PATCH] 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 --- src/document/html/renderer.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c index 06c55fd1a..3a6798792 100644 --- a/src/document/html/renderer.c +++ b/src/document/html/renderer.c @@ -2064,10 +2064,10 @@ format_html_part(struct html_context *html_context, { struct part *part; void *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) { @@ -2163,11 +2163,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