diff options
-rw-r--r-- | dw/textblock.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index da376dce..feff008d 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -273,6 +273,8 @@ void Textblock::getExtremesImpl (core::Extremes *extremes) // word_extremes.maxWidth); } + /* This "line->lastWord >= line->firstWord" test seems questionable */ + if ((line->lastWord >= line->firstWord && words->getRef(line->lastWord)->content.type == core::Content::BREAK ) || |