summaryrefslogtreecommitdiff
path: root/src/dillo.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-07-18 23:25:17 +0200
committerSebastian Geerken <devnull@localhost>2014-07-18 23:25:17 +0200
commit738c0a53692efc77a6888a2f683c2481ca844628 (patch)
tree8faef1cb0e1d1d9589c35cb1ac71cbea2da4ac9a /src/dillo.cc
parent9d9b0c76a3b04a8ea5971e9d9cc8c9cd790b8b49 (diff)
New dillorc option 'adjust_min_width'. Also fixed bug in textblock extremes calculation.
Diffstat (limited to 'src/dillo.cc')
-rw-r--r--src/dillo.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index 4d96988f..d67ba3af 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -56,6 +56,7 @@
#include "lout/debug.hh"
#include "dw/fltkcore.hh"
+#include "dw/widget.hh"
#include "dw/textblock.hh"
/*
@@ -483,6 +484,7 @@ int main(int argc, char **argv)
a_UIcmd_init();
StyleEngine::init();
+ dw::core::Widget::setAdjustMinWidth (prefs.adjust_min_width);
dw::Textblock::setPenaltyHyphen (prefs.penalty_hyphen);
dw::Textblock::setPenaltyHyphen2 (prefs.penalty_hyphen_2);
dw::Textblock::setPenaltyEmDashLeft (prefs.penalty_em_dash_left);