summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-11-08 21:07:23 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-11-08 21:07:23 (GMT)
commit3ab946c3a13a9f42cf14322a908810eb56a2d4f5 (patch)
treeec2b3f74834da83c8db01b2957e5fd6ca344f5e2 /generic
parent73b89417809cc91f33a1a6c9679510b21129db52 (diff)
parent039265e2a240d17e785c3d0d55fa6a108e53f44e (diff)
downloadtk-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.c4
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 {