diff options
author | jcid <devnull@localhost> | 2007-12-20 22:32:33 +0100 |
---|---|---|
committer | jcid <devnull@localhost> | 2007-12-20 22:32:33 +0100 |
commit | d893172796bca7f8b68914e5af138ff552e9f2b3 (patch) | |
tree | d41fdd478b1e5216fed99676e281af0cf00fce90 | |
parent | 0b02c1c2eca0893d5cbde733388004823fdd0681 (diff) |
Fixed a bug in table cellspacing.
-rw-r--r-- | src/html.cc | 4 |
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); |