aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r--dw/textblock.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc
index d9552826..37eaa7e5 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -3170,8 +3170,8 @@ int Textblock::getGeneratorWidth ()
// Cf. sizeRequestImpl.
if (usesMaxGeneratorWidth ()) {
- return lineBreakWidth;
DBG_OBJ_LEAVE_VAL ("%d", lineBreakWidth);
+ return lineBreakWidth;
} else {
int w0 = lines->size () > 0 ? lines->getLastRef()->maxLineWidth : 0,
w = min (w0 + leftInnerPadding + boxDiffWidth (), lineBreakWidth);