summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-01-07 15:26:07 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-01-07 15:26:07 (GMT)
commit5be70aeb76c7c6ba94c9288632ddf1c094108f0e (patch)
tree948b157f22cb5311dffce5a75dd4494967e003be /generic
parent07c65ee9c99b263ed8b6aefb42c7c5f6e47a441e (diff)
parent2aa8148b1c0d4bfd43195800910c9c6eec0ec8a2 (diff)
downloadtk-5be70aeb76c7c6ba94c9288632ddf1c094108f0e.zip
tk-5be70aeb76c7c6ba94c9288632ddf1c094108f0e.tar.gz
tk-5be70aeb76c7c6ba94c9288632ddf1c094108f0e.tar.bz2
Merge core-8-6-branch
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTextDisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index c060687..4b7b0db 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -7819,7 +7819,7 @@ CharChunkMeasureChars(
MeasureChars(tkfont, chars, charsLen, 0, bstart,
0, -1, 0, &widthUntilStart);
- xDisplacement = startX - widthUntilStart - chunkPtr->x;
+ xDisplacement = startX - widthUntilStart - ciPtr->baseChunkPtr->x;
}
fit = MeasureChars(tkfont, chars, charsLen, 0, bend,