summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-11-08 21:00:48 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-11-08 21:00:48 (GMT)
commit039265e2a240d17e785c3d0d55fa6a108e53f44e (patch)
treeeb585878ca1c7e18de409b8401dfd4f601b95862 /generic
parent2028daf50bcb641a8be43c4989a37074d5a00f72 (diff)
parentead20630da62cb8674fea88a385281fd05a0bcd4 (diff)
downloadtk-039265e2a240d17e785c3d0d55fa6a108e53f44e.zip
tk-039265e2a240d17e785c3d0d55fa6a108e53f44e.tar.gz
tk-039265e2a240d17e785c3d0d55fa6a108e53f44e.tar.bz2
Fixed bug [220854fff] - Trailing tab characters in entry widgets are not displayed
Diffstat (limited to 'generic')
-rw-r--r--generic/tkFont.c4
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 {