diff options
author | fvogel <fvogelnew1@free.fr> | 2015-11-08 21:07:23 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-11-08 21:07:23 (GMT) |
commit | 3ab946c3a13a9f42cf14322a908810eb56a2d4f5 (patch) | |
tree | ec2b3f74834da83c8db01b2957e5fd6ca344f5e2 /generic | |
parent | 73b89417809cc91f33a1a6c9679510b21129db52 (diff) | |
parent | 039265e2a240d17e785c3d0d55fa6a108e53f44e (diff) | |
download | tk-3ab946c3a13a9f42cf14322a908810eb56a2d4f5.zip tk-3ab946c3a13a9f42cf14322a908810eb56a2d4f5.tar.gz tk-3ab946c3a13a9f42cf14322a908810eb56a2d4f5.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 447f9e1..102fc6e 100644 --- a/generic/tkFont.c +++ b/generic/tkFont.c @@ -2067,14 +2067,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 { |