summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-01-14 14:32:30 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-01-14 14:32:30 (GMT)
commit6a0d791579f271fd69868f377393a2e02ab5e82d (patch)
tree489dd26addda5cfef15f856dddf211730a90382b /macosx
parent8d65c105a16c35b35a3832d815661e923c43bd80 (diff)
downloadtk-6a0d791579f271fd69868f377393a2e02ab5e82d.zip
tk-6a0d791579f271fd69868f377393a2e02ab5e82d.tar.gz
tk-6a0d791579f271fd69868f377393a2e02ab5e82d.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.
Diffstat (limited to 'macosx')
-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);