summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/text.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index ad1c37c8..1c728642 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -299,7 +299,9 @@ static iChar nextChar_(const char **chPos, const char *end) {
299int enableHalfPixelGlyphs_Text = iTrue; 299int enableHalfPixelGlyphs_Text = iTrue;
300 300
301iLocalDef iBool isWrapBoundary_(iChar a, iChar b) { 301iLocalDef iBool isWrapBoundary_(iChar a, iChar b) {
302 if (b == '/' || b == '-') return iTrue; 302 if (b == '/' || b == '-' || b == ',' || b == ';' || b == ':') {
303 return iTrue;
304 }
303 return !isSpace_Char(a) && isSpace_Char(b); 305 return !isSpace_Char(a) && isSpace_Char(b);
304} 306}
305 307