aboutsummaryrefslogtreecommitdiff
path: root/src/form.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2012-11-14 14:04:25 +0100
committerSebastian Geerken <devnull@localhost>2012-11-14 14:04:25 +0100
commit53e9245bcbaea2b7b4485369aa2289f1d102f26c (patch)
tree686a6e3125fca5c7889d2010633d697704bf33c9 /src/form.cc
parent7a991750e1f7bdfe6bd39f95343cc742d00c6596 (diff)
Cleaned up preferences.
Diffstat (limited to 'src/form.cc')
-rw-r--r--src/form.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/form.cc b/src/form.cc
index 90dc6d50..099f1a48 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -871,7 +871,7 @@ void Html_tag_open_button(DilloHtml *html, const char *tag, int tagsize)
/* We used to have Textblock (prefs.limit_text_width, ...) here,
* but it caused 100% CPU usage.
*/
- page = new Textblock (false, prefs.penalty_hyphen);
+ page = new Textblock (false);
page->setStyle (html->styleEngine->backgroundStyle ());
ResourceFactory *factory = HT2LT(html)->getResourceFactory();