From 9c77c6d76e25394517d371e070d13b54ab7858d8 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Thu, 8 Nov 2012 14:54:19 +0100 Subject: Making hyphen penalties configurable. --- dw/alignedtextblock.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dw/alignedtextblock.cc') 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); } -- cgit v1.2.3