aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock_linebreaking.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-05-29 14:19:29 +0200
committerSebastian Geerken <devnull@localhost>2014-05-29 14:19:29 +0200
commit8b7eb5032c7d40e6fe0fe21aff2523b7fa14e8f2 (patch)
tree80aff7801cdfecef30b0f2b9a7bdf61f1ccba2ae /dw/textblock_linebreaking.cc
parent2f6d8aa3601505ad5490a212e75714abe3dcc77c (diff)
Distinction between 'block-level' and 'possible container'.
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r--dw/textblock_linebreaking.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc
index a6fb75a4..6e9575e0 100644
--- a/dw/textblock_linebreaking.cc
+++ b/dw/textblock_linebreaking.cc
@@ -1645,7 +1645,7 @@ void Textblock::initLine1Offset (int wordIndex)
int indent = 0;
if (word->content.type == core::Content::WIDGET_IN_FLOW &&
- word->content.widget->isBlockLevel() == true) {
+ word->content.widget->isBlockLevel()) {
/* don't use text-indent when nesting blocks */
} else {
if (core::style::isPerLength(getStyle()->textIndent)) {