summaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r--dw/textblock.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc
index 339a43dc..5d005665 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -1402,8 +1402,7 @@ void Textblock::drawLine (Line *line, core::View *view, core::Rectangle *area)
drawText(wordIndex, view, area, xWidget, yWidgetBase);
}
}
- if (word->content.type == core::Content::TEXT &&
- word->effSpace > 0 && wordIndex < line->lastWord - 1) {
+ if (word->effSpace > 0 && wordIndex < line->lastWord - 1) {
drawSpace(wordIndex, view, area, xWidget + word->size.width,
yWidgetBase);
}