summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2017-01-07 15:00:40 (GMT)
committerfvogelnew1@free.fr <fvogel>2017-01-07 15:00:40 (GMT)
commita494162c0f39e5d797fdb15ffeff78db1748fa7f (patch)
treed38730537bfb6cd0cab575288492e9ebe13a36e8 /generic
parent294972b260ca2bc44c1593e2879d1916f4cb1263 (diff)
parent01df4607226fd830d86bc46152a2535326b29634 (diff)
downloadtk-a494162c0f39e5d797fdb15ffeff78db1748fa7f.zip
tk-a494162c0f39e5d797fdb15ffeff78db1748fa7f.tar.gz
tk-a494162c0f39e5d797fdb15ffeff78db1748fa7f.tar.bz2
Fix [3df559ef7c] - Negative bbox width on OS X.
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 2171cd0..1be26c4 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,