diff options
author | fvogelnew1@free.fr <fvogel> | 2015-11-08 21:00:48 (GMT) |
---|---|---|
committer | fvogelnew1@free.fr <fvogel> | 2015-11-08 21:00:48 (GMT) |
commit | 2f7dfea9947372445809616d772a9fdb057964d3 (patch) | |
tree | eb585878ca1c7e18de409b8401dfd4f601b95862 /generic | |
parent | 8b6b83b08cfae706ca5886db5eceac6063281f07 (diff) | |
parent | 8a6065cc0861019d3b53819bf0711ce04f6eafd6 (diff) | |
download | tk-2f7dfea9947372445809616d772a9fdb057964d3.zip tk-2f7dfea9947372445809616d772a9fdb057964d3.tar.gz tk-2f7dfea9947372445809616d772a9fdb057964d3.tar.bz2 |
Fixed bug [220854fff] - Trailing tab characters in entry widgets are not displayed
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkFont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c index 5d2ad43..7ff1ae9 100644 --- a/generic/tkFont.c +++ b/generic/tkFont.c @@ -2069,14 +2069,14 @@ Tk_ComputeTextLayout( NewChunk(&layoutPtr, &maxChunks, start, 1, curX, newX, baseline)->numDisplayChars = -1; start++; + curX = newX; + flags &= ~TK_AT_LEAST_ONE; if ((start < end) && ((wrapLength <= 0) || (newX <= wrapLength))) { /* * More chars can still fit on this line. */ - curX = newX; - flags &= ~TK_AT_LEAST_ONE; continue; } } else { |