summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-27 10:15:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-27 10:15:26 (GMT)
commitb560f4ecad53a63a6337fe278995fdc0c14fd7ec (patch)
tree76f7c1b617c05630c939dbeeda746fba5e83e8d9 /tools
parenta3add118f5795550d6eb25ff49b89024a2ba1ff2 (diff)
parent5bd65884c293f6b7e5255c095eda8acb1934abeb (diff)
downloadtcl-b560f4ecad53a63a6337fe278995fdc0c14fd7ec.zip
tcl-b560f4ecad53a63a6337fe278995fdc0c14fd7ec.tar.gz
tcl-b560f4ecad53a63a6337fe278995fdc0c14fd7ec.tar.bz2
Merge 8.6
Diffstat (limited to 'tools')
-rw-r--r--tools/genStubs.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl
index 5b7278c..47b8ad4 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -1101,7 +1101,7 @@ proc genStubs::emitInit {name textVar} {
}
foreach intf [array names interfaces] {
if {[info exists hooks($intf)]} {
- if {[lsearch -exact $hooks($intf) $name] >= 0} {
+ if {$name in $hooks($intf)} {
set root 0
break
}