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 | ead20630da62cb8674fea88a385281fd05a0bcd4 (patch) | |
tree | 43b2b58c37089d090962979573c0f8a8f9593163 /generic/tkFont.c | |
parent | f4d4fd8a09e8d9dd4170ff2115ec46fe185b1ad8 (diff) | |
download | tk-ead20630da62cb8674fea88a385281fd05a0bcd4.zip tk-ead20630da62cb8674fea88a385281fd05a0bcd4.tar.gz tk-ead20630da62cb8674fea88a385281fd05a0bcd4.tar.bz2 |
Fixed bug [220854fff] - Trailing tab characters in entry widgets are not displayedbug_220854fff
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 { |