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

Revert d19dcaa3e7 patch that breaks table

rendering.
This commit is contained in:
Laurent MONIN 2006-05-31 18:50:15 +02:00 committed by Laurent MONIN
parent 77d9e40fbc
commit 4c5d4bcf34

View File

@ -1367,7 +1367,6 @@ line_break(struct html_context *html_context)
{ {
struct part *part; struct part *part;
struct tag *tag; struct tag *tag;
int i;
assert(html_context); assert(html_context);
if_assert_failed return; if_assert_failed return;
@ -1398,12 +1397,6 @@ line_break(struct html_context *html_context)
} }
if (part->cx > 0) align_line(html_context, part->cy, 1); if (part->cx > 0) align_line(html_context, part->cy, 1);
/* This change is visible only for glib, gtk, gnome docs in 256 colors */
if (html_is_preformatted()) {
for (i = part->cx ; i < part->document->options.box.width; i++) {
put_chars(html_context, " ", 1);
}
}
for (tag = renderer_context.last_tag_for_newline; for (tag = renderer_context.last_tag_for_newline;
tag && tag != (struct tag *) &part->document->tags; tag && tag != (struct tag *) &part->document->tags;