diff options
author | fvogel <fvogelnew1@free.fr> | 2022-01-23 14:20:45 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2022-01-23 14:20:45 (GMT) |
commit | d93dfc8852354aa742c935c347c42fd181a985c0 (patch) | |
tree | 4f0778dbaf70031187f2f574ed5d59a65b6b7cef /generic/tkTextDisp.c | |
parent | ae092e3b7115dd951f38364572a141fa9c210434 (diff) | |
download | tk-d93dfc8852354aa742c935c347c42fd181a985c0.zip tk-d93dfc8852354aa742c935c347c42fd181a985c0.tar.gz tk-d93dfc8852354aa742c935c347c42fd181a985c0.tar.bz2 |
More accurate comment. Indeed long ago there used to be Tcl_Preserve/Tcl_Release calls around the call to TkTextPickCurrent but they have been replaced by refcount management when TIP #155 was implemented, see [e58248ce5f8b5af2].
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r-- | generic/tkTextDisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index 465e453..4411211 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -4221,7 +4221,7 @@ DisplayText( /* * Choose a new current item if that is needed (this could cause event - * handlers to be invoked, hence the preserve/release calls and the loop, + * handlers to be invoked, hence the refcount management and the loop, * since the handlers could conceivably necessitate yet another current * item calculation). The tkwin check is because the whole window could go * away in the Tcl_Release call. |