diff options
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index fae2613a..19520282 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -1025,8 +1025,9 @@ void Textblock::wordWrap(int wordIndex) //DBG_OBJ_ARRSET_NUM (page, "lines.%d.max_word_min", page->num_lines - 1, // lastLine->max_word_min); - /* Finally, justify the line. Breaks are ignored, since the HTML - * parser sometimes assignes the wrong style to them. (TODO: ) */ + /* Align the line. + * \todo Use block's style instead once paragraphs become proper blocks. + */ if (word->content.type != core::Content::BREAK) { switch (word->style->textAlign) { case core::style::TEXT_ALIGN_LEFT: |