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/form.cc | |
parent | 2f9834507ff751f177c6fa218cc5849107a61aa8 (diff) |
Making hyphen penalties configurable.
Diffstat (limited to 'src/form.cc')
-rw-r--r-- | src/form.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/form.cc b/src/form.cc index 11f27b47..90dc6d50 100644 --- a/src/form.cc +++ b/src/form.cc @@ -868,10 +868,10 @@ void Html_tag_open_button(DilloHtml *html, const char *tag, int tagsize) html->styleEngine->setNonCssHint (PROPERTY_X_TOOLTIP, CSS_TYPE_STRING, attrbuf); } - /* We used to have Textblock (prefs.limit_text_width) here, + /* We used to have Textblock (prefs.limit_text_width, ...) here, * but it caused 100% CPU usage. */ - page = new Textblock (false); + page = new Textblock (false, prefs.penalty_hyphen); page->setStyle (html->styleEngine->backgroundStyle ()); ResourceFactory *factory = HT2LT(html)->getResourceFactory(); |