summaryrefslogtreecommitdiff
path: root/src/table.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-04 19:06:05 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-04 19:06:05 +0100
commitd9e2b8de79ca2235611436c1982f2f026f6f646e (patch)
tree2188be14f0f3c70d55e81980be478c32194175fc /src/table.cc
parentf5f1224bd8cdc70f56c4014e3934ab3f8cd3996f (diff)
use styleEngine->wordStyle() for adding text or parbreaks
Diffstat (limited to 'src/table.cc')
-rw-r--r--src/table.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table.cc b/src/table.cc
index 2b7e2517..6140d3c8 100644
--- a/src/table.cc
+++ b/src/table.cc
@@ -50,7 +50,7 @@ void Html_tag_open_table(DilloHtml *html, const char *tag, int tagsize)
int cssLength;
#endif
- DW2TB(html->dw)->addParbreak (0, html->styleEngine->style ());
+ DW2TB(html->dw)->addParbreak (0, html->styleEngine->wordStyle ());
#ifdef USE_TABLES
if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "border")))
@@ -223,7 +223,7 @@ void Html_tag_open_tr(DilloHtml *html, const char *tag, int tagsize)
S_TOP(html)->table_mode = DILLO_HTML_TABLE_MODE_TR;
#else
- DW2TB(html->dw)->addParbreak (0, html->styleEngine->style ());
+ DW2TB(html->dw)->addParbreak (0, html->styleEngine->wordStyle ());
#endif
}