diff options
author | Sebastian Geerken <devnull@localhost> | 2012-11-08 14:54:19 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2012-11-08 14:54:19 +0100 |
commit | 9c77c6d76e25394517d371e070d13b54ab7858d8 (patch) | |
tree | 6dfe12eb0f5722e5f5c424f1ed0396b516ce4de1 /src/table.cc | |
parent | 2f9834507ff751f177c6fa218cc5849107a61aa8 (diff) |
Making hyphen penalties configurable.
Diffstat (limited to 'src/table.cc')
-rw-r--r-- | src/table.cc | 4 |
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); |