summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-10-17 20:06:39 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-10-17 20:06:39 (GMT)
commit243fc9b651d187f1455e75470374f27a44ad7423 (patch)
treecaf239f9ecfe6ca4567b98cd921af4beba5f3660 /generic/tkTextDisp.c
parent39c811429bffb82e9656e6f1318519735e199a1f (diff)
downloadtk-243fc9b651d187f1455e75470374f27a44ad7423.zip
tk-243fc9b651d187f1455e75470374f27a44ad7423.tar.gz
tk-243fc9b651d187f1455e75470374f27a44ad7423.tar.bz2
New patch from Marc Culler aiming at fixing [fab5fed65e] without breaking again [92e614e612] nor [40a9abb9db].
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r--generic/tkTextDisp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 39a57eb..623882d 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -4298,9 +4298,7 @@ DisplayText(
if (TkScrollWindow(textPtr->tkwin, dInfoPtr->scrollGC, dInfoPtr->x,
oldY, dInfoPtr->maxX-dInfoPtr->x, height, 0, y-oldY,
damageRgn)) {
-#ifndef MAC_OSX_TK
TextInvalidateRegion(textPtr, damageRgn);
-#endif
}
numCopies++;
TkDestroyRegion(damageRgn);