diff options
-rw-r--r-- | src/ui/text.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/text.c b/src/ui/text.c index 6b42610f..c62a4541 100644 --- a/src/ui/text.c +++ b/src/ui/text.c | |||
@@ -618,6 +618,10 @@ iLocalDef iBool isWrapBoundary_(iChar prevC, iChar c) { | |||
618 | can wrap text like foo/bar/baz-abc-def.xyz at any puncation boundaries, | 618 | can wrap text like foo/bar/baz-abc-def.xyz at any puncation boundaries, |
619 | without wrapping on other punctuation used for expressive purposes like | 619 | without wrapping on other punctuation used for expressive purposes like |
620 | emoticons :-) */ | 620 | emoticons :-) */ |
621 | if (c == '.' && (prevC == '(' || prevC == '[' || prevC == '.')) { | ||
622 | /* Start of a [...], perhaps? */ | ||
623 | return iFalse; | ||
624 | } | ||
621 | if (isSpace_Char(prevC)) { | 625 | if (isSpace_Char(prevC)) { |
622 | return iFalse; | 626 | return iFalse; |
623 | } | 627 | } |