diff options
author | fvogel <fvogelnew1@free.fr> | 2017-01-07 15:01:22 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-01-07 15:01:22 (GMT) |
commit | 3ccac6ac9f0becb6bb86517420e1c2c5f2dae06e (patch) | |
tree | c7e63809c08b57af95251b0d4833fdcd1664a52b /generic | |
parent | 297d6b201c940ded0bf08c3e6302275f6e933241 (diff) | |
parent | 09433140c6105863a449e366525f67083a5295aa (diff) | |
download | tk-3ccac6ac9f0becb6bb86517420e1c2c5f2dae06e.zip tk-3ccac6ac9f0becb6bb86517420e1c2c5f2dae06e.tar.gz tk-3ccac6ac9f0becb6bb86517420e1c2c5f2dae06e.tar.bz2 |
Fix [3df559ef7c] - Negative bbox width on OS X.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkTextDisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index 1c4925d..e984bb6 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, |