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 cf7f5620..d08573ca 100644 --- a/src/ui/text.c +++ b/src/ui/text.c | |||
@@ -1379,7 +1379,7 @@ iInt2 advanceRange_Text(int fontId, iRangecc text) { | |||
1379 | } | 1379 | } |
1380 | 1380 | ||
1381 | static iBool cbAdvanceOneLine_(iWrapText *d, iRangecc range, int advance) { | 1381 | static iBool cbAdvanceOneLine_(iWrapText *d, iRangecc range, int advance) { |
1382 | *((const char **) d->context) = range.end; | 1382 | *((const char **) d->context) = iMin(skipSpace_CStr(range.end), d->text.end); |
1383 | return iFalse; /* just one line */ | 1383 | return iFalse; /* just one line */ |
1384 | } | 1384 | } |
1385 | 1385 | ||