diff options
author | fvogel <fvogelnew1@free.fr> | 2015-10-29 20:19:21 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-10-29 20:19:21 (GMT) |
commit | e9eada8cb7f17c8bc873c20ac56ed4740cfc446a (patch) | |
tree | 43b2b58c37089d090962979573c0f8a8f9593163 /generic/tkFont.c | |
parent | ec0fa12b8360363c768faefed22f573a6a33781b (diff) | |
download | tk-e9eada8cb7f17c8bc873c20ac56ed4740cfc446a.zip tk-e9eada8cb7f17c8bc873c20ac56ed4740cfc446a.tar.gz tk-e9eada8cb7f17c8bc873c20ac56ed4740cfc446a.tar.bz2 |
Fixed bug [220854fff] - Trailing tab characters in entry widgets are not displayed
Diffstat (limited to 'generic/tkFont.c')
-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 { |