diff options
author | fvogel <fvogelnew1@free.fr> | 2017-01-18 22:23:10 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-01-18 22:23:10 (GMT) |
commit | b5a8363553e6127b6c684d33f6b3fdccb57f84df (patch) | |
tree | f5ca09b54bd2e197173054a95d20ac278041357c /generic | |
parent | 5442c2a77a9c025b2245d42dbae20829f03be9bc (diff) | |
parent | 886747e926ca6149ad730cbd07c59aa716f46435 (diff) | |
download | tk-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.c | 3 |
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); |