summaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2016-01-01 17:34:53 +0100
committerSebastian Geerken <devnull@localhost>2016-01-01 17:34:53 +0100
commitdc6e85ba555ab76f0e13495955690875c8b1a8d4 (patch)
tree444e6de4a636271bc5c93b2eeb170c160cbb2aca /dw/textblock.cc
parentbf6aeb8e54aac0b5aec39de544ec41f3a59daddf (diff)
Fix RTFL message.
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);