aboutsummaryrefslogtreecommitdiff
path: root/src/dillo.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2012-11-18 14:14:52 +0100
committerSebastian Geerken <devnull@localhost>2012-11-18 14:14:52 +0100
commit0f9c4a50964f6321b6cc66d968e3ade5b22a1ae2 (patch)
tree567d759df4db0fa063738397f66797cef99bd1bf /src/dillo.cc
parent38fb867037d86d741fd003adc5e3cbb4c4aeceb8 (diff)
Cleaned up and completed configuration for penalties.
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)