summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2007-12-20 22:32:33 +0100
committerjcid <devnull@localhost>2007-12-20 22:32:33 +0100
commitd893172796bca7f8b68914e5af138ff552e9f2b3 (patch)
treed41fdd478b1e5216fed99676e281af0cf00fce90
parent0b02c1c2eca0893d5cbde733388004823fdd0681 (diff)
Fixed a bug in table cellspacing.
-rw-r--r--src/html.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html.cc b/src/html.cc
index 31fcfb7c..2fa0af4b 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -2091,10 +2091,10 @@ static void Html_tag_open_table(DilloHtml *html, const char *tag, int tagsize)
style_attrs.borderWidth.setVal (border);
style_attrs.setBorderColor (
- Color::createShaded (HT2LT(html),
- S_TOP(html)->current_bg_color));
+ Color::createShaded (HT2LT(html), S_TOP(html)->current_bg_color));
style_attrs.setBorderStyle (BORDER_OUTSET);
style_attrs.hBorderSpacing = cellspacing;
+ style_attrs.vBorderSpacing = cellspacing;
if ((attrbuf = Html_get_attr(html, tag, tagsize, "width")))
style_attrs.width = Html_parse_length (html, attrbuf);