aboutsummaryrefslogtreecommitdiff
path: root/src/table.cc
diff options
context:
space:
mode:
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 98157e76..3487bab3 100644
--- a/src/table.cc
+++ b/src/table.cc
@@ -421,9 +421,9 @@ static void Html_tag_content_table_cell(DilloHtml *html,
== TEXT_ALIGN_STRING)
col_tb = new dw::TableCell (
((dw::Table*)S_TOP(html)->table)->getCellRef (),
- prefs.limit_text_width);
+ prefs.limit_text_width, prefs.penalty_hyphen);
else
- col_tb = new Textblock (prefs.limit_text_width);
+ col_tb = new Textblock (prefs.limit_text_width, prefs.penalty_hyphen);
if (html->styleEngine->style()->borderCollapse == BORDER_MODEL_COLLAPSE){
Html_set_collapsing_border_model(html, col_tb);