diff options
author | fvogel <fvogelnew1@free.fr> | 2017-01-02 13:19:02 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-01-02 13:19:02 (GMT) |
commit | daf2eae38a06d6471872c5ff1987af418eddbfaf (patch) | |
tree | 13396cfce9785297c7bd4eca274703fef638ca09 | |
parent | f85e7916a82767bfc0f9fdffbc13edb698456c06 (diff) | |
download | tk-daf2eae38a06d6471872c5ff1987af418eddbfaf.zip tk-daf2eae38a06d6471872c5ff1987af418eddbfaf.tar.gz tk-daf2eae38a06d6471872c5ff1987af418eddbfaf.tar.bz2 |
'Fixed' font-24.11 and unixfont-5.12 to fail again identically as they fail in core-8-6-branch.bug_28a4535fa2
-rw-r--r-- | macosx/tkMacOSXFont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXFont.c b/macosx/tkMacOSXFont.c index db36731..b5ae1a3 100644 --- a/macosx/tkMacOSXFont.c +++ b/macosx/tkMacOSXFont.c @@ -870,7 +870,7 @@ TkpMeasureCharsInContext( if (index <= start && !(flags & TK_WHOLE_WORDS)) { index = CTTypesetterSuggestClusterBreak(typesetter, start, maxWidth); } - cs = (index < len && (flags & TK_WHOLE_WORDS)) ? + cs = (index <= len && (flags & TK_WHOLE_WORDS)) ? whitespaceCharacterSet : lineendingCharacterSet; while (index > start && [cs characterIsMember:[string characterAtIndex:(index - 1)]]) { |