From ee8455b769a597dc5d87f89478032b49cf49cdba Mon Sep 17 00:00:00 2001 From: fvogel Date: Sat, 7 Jan 2017 14:45:40 +0000 Subject: Reverted [7ed6460f] since it fixes an issue unrelated to the bug presented in [3df559ef7c] - Negative bbox width on OS X. --- generic/tkTextDisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index 4b7b0db..1be26c4 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -8793,7 +8793,7 @@ FinalizeBaseChunk( #if TK_DRAW_IN_CONTEXT newwidth = 0; CharChunkMeasureChars(chunkPtr, NULL, 0, 0, -1, 0, -1, 0, &newwidth); - if (newwidth < chunkPtr->width) { + if (newwidth != chunkPtr->width) { widthAdjust += newwidth - chunkPtr->width; chunkPtr->width = newwidth; } -- cgit v0.12