diff options
author | Sebastian Geerken <devnull@localhost> | 2014-05-09 19:58:17 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-05-09 19:58:17 +0200 |
commit | 2a2541895cb4615c537d7858dd678c54a844b09e (patch) | |
tree | 4a5fa2e468383a2d0b148a3be6cadbdf5d0ef71d /dw/textblock_linebreaking.cc | |
parent | 7eac6f2a6a1909660cf652dc557bbb0fb90b213e (diff) |
Fixed handling of breaks for spaces.
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r-- | dw/textblock_linebreaking.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc index 8b99ed1f..3f1101c0 100644 --- a/dw/textblock_linebreaking.cc +++ b/dw/textblock_linebreaking.cc @@ -1147,7 +1147,7 @@ bool Textblock::isHyphenationCandidate (Word *word) { return (word->flags & Word::CAN_BE_HYPHENATED) && word->style->x_lang[0] && - isBreakAllowed(word) && + isBreakAllowedInWord (word) && word->content.type == core::Content::TEXT && Hyphenator::isHyphenationCandidate (word->content.text); } |