diff options
author | Sebastian Geerken <devnull@localhost> | 2012-11-08 09:20:30 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2012-11-08 09:20:30 +0100 |
commit | 2f9834507ff751f177c6fa218cc5849107a61aa8 (patch) | |
tree | 370c3c99762d83db27dd211d8ab4dbbffc609a24 | |
parent | 1500574f71711a62c6eb98e73e30c3ca678aee4c (diff) |
Line breaking allowed for WHITE_SPACE_PRE_WRAP.
-rw-r--r-- | dw/textblock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index 0ba5a4b2..00edf418 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -1685,12 +1685,12 @@ void Textblock::setBreakOption (Word *word, core::style::Style *style) switch (style->whiteSpace) { case core::style::WHITE_SPACE_NORMAL: case core::style::WHITE_SPACE_PRE_LINE: + case core::style::WHITE_SPACE_PRE_WRAP: word->badnessAndPenalty.setPenalty (0); break; case core::style::WHITE_SPACE_PRE: case core::style::WHITE_SPACE_NOWRAP: - case core::style::WHITE_SPACE_PRE_WRAP: word->badnessAndPenalty.setPenaltyProhibitBreak (); break; } |