changeset 547:27ef002a9652

fix handling of bgcolor attributes in Html_tag_open_tr()
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 10 Nov 2008 20:35:54 +0100
parents d77627f1d6f6
children daf7700ad4bc
files src/table.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/table.cc	Mon Nov 10 20:32:09 2008 +0100
+++ b/src/table.cc	Mon Nov 10 20:35:54 2008 +0100
@@ -166,7 +166,7 @@
 
       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))