From: Ben Pfaff Date: Sun, 31 Jan 2010 04:40:30 +0000 (-0800) Subject: html: Delete redundant code. X-Git-Tag: v0.7.4~30 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b344a9c8cf1300fabdaba1c2e59bfd4dd670db2;p=pspp-builds.git html: Delete redundant code. This code was part of an earlier attempt at CSS styling for HTML output. It does nothing useful, so remove it. --- diff --git a/src/output/html.c b/src/output/html.c index 57d77a76..3f9c177b 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -439,23 +439,6 @@ html_output_table (struct html_driver *html, struct table_item *item) if (n_borders > 0) fputs ("\"", html->file); - if (top > TAL_GAP || bottom > TAL_GAP - || left > TAL_GAP || right > TAL_GAP) - { - fputs (" STYLE=\"", html->file); - if (top > TAL_GAP) - fprintf (html->file, "border-top: %s", - top == TAL_1 ? "thin solid" : "double"); - - if (top > TAL_GAP && left > TAL_GAP) - fputs ("; ", html->file); - - if (left > TAL_GAP) - fprintf (html->file, "border-left: %s", - left == TAL_1 ? "thin solid" : "double"); - fputs ("\"", html->file); - } - putc ('>', html->file); /* Output cell contents. */