diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/text.c b/src/ui/text.c index 7bb418eb..66231348 100644 --- a/src/ui/text.c +++ b/src/ui/text.c | |||
@@ -1559,7 +1559,7 @@ static iRect run_Font_(iFont *d, const iRunArgs *args) { | |||
1559 | iAssert(xAdvance >= 0); | 1559 | iAssert(xAdvance >= 0); |
1560 | if (wrapMode == word_WrapTextMode) { | 1560 | if (wrapMode == word_WrapTextMode) { |
1561 | /* When word wrapping, only consider certain places breakable. */ | 1561 | /* When word wrapping, only consider certain places breakable. */ |
1562 | if ((prevCh == '-' || prevCh == '/') && !isPunct_Char(ch)) { | 1562 | if ((prevCh == '-' || prevCh == '/' || prevCh == '\\') && !isPunct_Char(ch)) { |
1563 | safeBreakPos = logPos; | 1563 | safeBreakPos = logPos; |
1564 | breakAdvance = wrapAdvance; | 1564 | breakAdvance = wrapAdvance; |
1565 | breakRunIndex = runIndex; | 1565 | breakRunIndex = runIndex; |