mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Drop dead commented code and tidy up.
This commit is contained in:
parent
d54f76bec8
commit
956484cf57
@ -1777,10 +1777,9 @@ format_html_part(struct html_context *html_context,
|
|||||||
struct html_element *html_state;
|
struct html_element *html_state;
|
||||||
int llm = renderer_context.last_link_to_move;
|
int llm = renderer_context.last_link_to_move;
|
||||||
struct tag *ltm = renderer_context.last_tag_to_move;
|
struct tag *ltm = renderer_context.last_tag_to_move;
|
||||||
/*struct tag *ltn = last_tag_for_newline;*/
|
|
||||||
int lm = html_context->margin;
|
|
||||||
int ef = renderer_context.empty_format;
|
int ef = renderer_context.empty_format;
|
||||||
|
int lm = html_context->margin;
|
||||||
|
|
||||||
/* Hash creation if needed. */
|
/* Hash creation if needed. */
|
||||||
if (!table_cache) {
|
if (!table_cache) {
|
||||||
table_cache = init_hash(8, &strhash);
|
table_cache = init_hash(8, &strhash);
|
||||||
@ -1874,10 +1873,10 @@ format_html_part(struct html_context *html_context,
|
|||||||
ret:
|
ret:
|
||||||
renderer_context.last_link_to_move = llm;
|
renderer_context.last_link_to_move = llm;
|
||||||
renderer_context.last_tag_to_move = ltm;
|
renderer_context.last_tag_to_move = ltm;
|
||||||
/* renderer_context.last_tag_for_newline = ltn; */
|
|
||||||
html_context->margin = lm;
|
|
||||||
renderer_context.empty_format = ef;
|
renderer_context.empty_format = ef;
|
||||||
|
|
||||||
|
html_context->margin = lm;
|
||||||
|
|
||||||
if (html_context->table_level > 1 && !document
|
if (html_context->table_level > 1 && !document
|
||||||
&& table_cache
|
&& table_cache
|
||||||
&& table_cache_entries < MAX_TABLE_CACHE_ENTRIES) {
|
&& table_cache_entries < MAX_TABLE_CACHE_ENTRIES) {
|
||||||
|
Loading…
Reference in New Issue
Block a user