diff options
Diffstat (limited to '')
-rw-r--r-- | src/word.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/word.cpp b/src/word.cpp index db720dc1..1c1c1a6b 100644 --- a/src/word.cpp +++ b/src/word.cpp @@ -386,7 +386,7 @@ void word::generate(utility::outputStream& os, const string::size_type maxLineLe maxRunLength = std::max(maxRunLength, curRunLength); - if (maxRunLength >= maxLineLength - 3) + if (((flags & text::FORCE_NO_ENCODING) == 0) && maxRunLength >= maxLineLength - 3) { // Generate with encoding forced generate(os, maxLineLength, curLinePos, newLinePos, flags | text::FORCE_ENCODING, state); |