diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-10 20:35:54 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-10 20:35:54 +0100 |
commit | 119dc3bfa3d71e5e2045b1f347ed6a9693028bbe (patch) | |
tree | 479058ed4c7c0d7f30f0e4b00f3ef08e48ca07b6 | |
parent | e537381d9fe97d9ef7aba56652d0b60a6639eb83 (diff) |
fix handling of bgcolor attributes in Html_tag_open_tr()
-rw-r--r-- | src/table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table.cc b/src/table.cc index 7c17cdd7..f61584eb 100644 --- a/src/table.cc +++ b/src/table.cc @@ -166,7 +166,7 @@ void Html_tag_open_tr(DilloHtml *html, const char *tag, int tagsize) table_cell_props = new CssPropertyList (*S_TOP(html)->table_cell_props); if (bgcolor != -1) { - props.set (CssProperty::CSS_PROPERTY_BACKGROUND_COLOR, bgcolor); + table_cell_props->set (CssProperty::CSS_PROPERTY_BACKGROUND_COLOR, bgcolor); new_style = true; } if (a_Html_tag_set_valign_attr (html, tag, tagsize, table_cell_props)) |