summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2017-01-18 22:23:10 (GMT)
committerfvogelnew1@free.fr <fvogel>2017-01-18 22:23:10 (GMT)
commite6fdaff9086573bc72613edd078fff5a0bf869f4 (patch)
treef5ca09b54bd2e197173054a95d20ac278041357c /generic
parentc0077232ee69e46cd777b62ac37958ab0a009740 (diff)
parent1ee9b897fd2e1b0442b4a08ae8c3a01d50e23cad (diff)
downloadtk-e6fdaff9086573bc72613edd078fff5a0bf869f4.zip
tk-e6fdaff9086573bc72613edd078fff5a0bf869f4.tar.gz
tk-e6fdaff9086573bc72613edd078fff5a0bf869f4.tar.bz2
Fix [fab5fed65e]: OS X - lots of textDisp failures (spurious 'borders' and indices in tk_textRedraw).
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTextDisp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 704d47d..095bb5e 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -4298,8 +4298,9 @@ 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);