summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-01-23 14:20:45 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-01-23 14:20:45 (GMT)
commitd93dfc8852354aa742c935c347c42fd181a985c0 (patch)
tree4f0778dbaf70031187f2f574ed5d59a65b6b7cef /generic/tkTextDisp.c
parentae092e3b7115dd951f38364572a141fa9c210434 (diff)
downloadtk-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.c2
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.