aboutsummaryrefslogtreecommitdiff
path: root/src/dillo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dillo.cc')
-rw-r--r--src/dillo.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index cb522b8a..9bab589c 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -360,7 +360,8 @@ int main(int argc, char **argv)
a_Cookies_init();
a_Auth_init();
- dw::Textblock::init (prefs.penalty_hyphen, prefs.penalty_hyphen_2);
+ dw::Textblock::setPenaltyHyphen (prefs.penalty_hyphen);
+ dw::Textblock::setPenaltyHyphen2 (prefs.penalty_hyphen_2);
/* command line options override preferences */
if (options_got & DILLO_CLI_FULLWINDOW)