summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-01-18 22:23:10 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-01-18 22:23:10 (GMT)
commitb5a8363553e6127b6c684d33f6b3fdccb57f84df (patch)
treef5ca09b54bd2e197173054a95d20ac278041357c /generic
parent5442c2a77a9c025b2245d42dbae20829f03be9bc (diff)
parent886747e926ca6149ad730cbd07c59aa716f46435 (diff)
downloadtk-b5a8363553e6127b6c684d33f6b3fdccb57f84df.zip
tk-b5a8363553e6127b6c684d33f6b3fdccb57f84df.tar.gz
tk-b5a8363553e6127b6c684d33f6b3fdccb57f84df.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);