summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2017-01-14 14:32:30 (GMT)
committerfvogelnew1@free.fr <fvogel>2017-01-14 14:32:30 (GMT)
commitafc82b86e6f46a7eadf990e0677ce2dd2519e7e8 (patch)
tree489dd26addda5cfef15f856dddf211730a90382b
parentf29fe45d3243a07a84893b8d8ed18ea0373f3e2e (diff)
downloadtk-afc82b86e6f46a7eadf990e0677ce2dd2519e7e8.zip
tk-afc82b86e6f46a7eadf990e0677ce2dd2519e7e8.tar.gz
tk-afc82b86e6f46a7eadf990e0677ce2dd2519e7e8.tar.bz2
Partially fix [fab5fed65e]: OS X - lots of textDisp failures (spurious 'borders' and indices in tk_textRedraw). This commit fixes the spurious indices part of the bug report.
-rw-r--r--macosx/tkMacOSXDraw.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index 474ed41..09a6b4e 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -1527,12 +1527,6 @@ TkScrollWindow(
srcRect = CGRectMake(x, y, width, height);
dstRect = CGRectOffset(srcRect, dx, dy);
- /* Expand the rectangles slightly to avoid degeneracies. */
- srcRect.origin.y -= 1;
- srcRect.size.height += 2;
- dstRect.origin.y += 1;
- dstRect.size.height -= 2;
-
/* Compute the damage. */
dmgRgn = HIShapeCreateMutableWithRect(&srcRect);
extraRgn = HIShapeCreateWithRect(&dstRect);