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 /dw/listitem.cc | |
parent | 2f9834507ff751f177c6fa218cc5849107a61aa8 (diff) |
Making hyphen penalties configurable.
Diffstat (limited to 'dw/listitem.cc')
-rw-r--r-- | dw/listitem.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/listitem.cc b/dw/listitem.cc index ed7a2c75..54901e1a 100644 --- a/dw/listitem.cc +++ b/dw/listitem.cc @@ -26,8 +26,8 @@ namespace dw { int ListItem::CLASS_ID = -1; -ListItem::ListItem (ListItem *ref, bool limitTextWidth): - AlignedTextblock (limitTextWidth) +ListItem::ListItem (ListItem *ref, bool limitTextWidth, int penaltyHyphen): + AlignedTextblock (limitTextWidth, penaltyHyphen) { registerName ("dw::ListItem", &CLASS_ID); setRefTextblock (ref); |