summaryrefslogtreecommitdiffstats
path: root/tools/genStubs.tcl
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2010-02-09 14:08:53 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2010-02-09 14:08:53 (GMT)
commitc9ff0f04abcd6fbf70000f4d8e28579ffe341303 (patch)
tree2d0dced0484dd5ee4e9f77570be2c90978da4dbf /tools/genStubs.tcl
parentde52610ec95e0587e5dd343c2fe170a1ddebb000 (diff)
downloadtcl-c9ff0f04abcd6fbf70000f4d8e28579ffe341303.zip
tcl-c9ff0f04abcd6fbf70000f4d8e28579ffe341303.tar.gz
tcl-c9ff0f04abcd6fbf70000f4d8e28579ffe341303.tar.bz2
Get the inequality right
Diffstat (limited to 'tools/genStubs.tcl')
-rw-r--r--tools/genStubs.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl
index ffbb9c3..613d62f 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: genStubs.tcl,v 1.37 2010/02/09 14:05:43 ferrieux Exp $
+# RCS: @(#) $Id: genStubs.tcl,v 1.38 2010/02/09 14:08:53 ferrieux Exp $
package require Tcl 8.4
@@ -990,7 +990,7 @@ proc genStubs::emitInit {name textVar} {
}
foreach intf [array names interfaces] {
if {[info exists hooks($intf)]} {
- if {0>[lsearch -exact $hooks($intf) $name]} {
+ if {0<=[lsearch -exact $hooks($intf) $name]} {
set root 0
break;
}