aboutsummaryrefslogtreecommitdiff
path: root/dw/alignedtextblock.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2012-11-08 14:54:19 +0100
committerSebastian Geerken <devnull@localhost>2012-11-08 14:54:19 +0100
commit9c77c6d76e25394517d371e070d13b54ab7858d8 (patch)
tree6dfe12eb0f5722e5f5c424f1ed0396b516ce4de1 /dw/alignedtextblock.cc
parent2f9834507ff751f177c6fa218cc5849107a61aa8 (diff)
Making hyphen penalties configurable.
Diffstat (limited to 'dw/alignedtextblock.cc')
-rw-r--r--dw/alignedtextblock.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/alignedtextblock.cc b/dw/alignedtextblock.cc
index dde408b2..934c43ec 100644
--- a/dw/alignedtextblock.cc
+++ b/dw/alignedtextblock.cc
@@ -59,8 +59,8 @@ void AlignedTextblock::List::unref(int pos)
int AlignedTextblock::CLASS_ID = -1;
-AlignedTextblock::AlignedTextblock (bool limitTextWidth):
- Textblock (limitTextWidth)
+AlignedTextblock::AlignedTextblock (bool limitTextWidth, int penaltyHyphen):
+ Textblock (limitTextWidth, penaltyHyphen)
{
registerName ("dw::AlignedTextblock", &CLASS_ID);
}