aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dw/textblock.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc
index 4de41c67..b47ae646 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -1079,15 +1079,7 @@ void Textblock::wordWrap(int wordIndex)
if (leftOffset < 0)
leftOffset = 0;
- if (hasListitemValue && lastLine == lines->getRef (0)) {
- /* List item markers are always on the left. */
- lastLine->leftOffset = 0;
- words->getRef(0)->effSpace = words->getRef(0)->origSpace + leftOffset;
- //DBG_OBJ_ARRSET_NUM (this, "words.%d.effSpace", 0,
- // words->getRef(0)->effSpace);
- } else {
- lastLine->leftOffset = leftOffset;
- }
+ lastLine->leftOffset = leftOffset;
}
mustQueueResize = true;