summaryrefslogtreecommitdiffstats
path: root/tests/focusTcl.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/focusTcl.test')
-rw-r--r--tests/focusTcl.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/focusTcl.test b/tests/focusTcl.test
index decc824..db064e0 100644
--- a/tests/focusTcl.test
+++ b/tests/focusTcl.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: focusTcl.test,v 1.4 2002/07/14 05:48:46 dgp Exp $
+# RCS: @(#) $Id: focusTcl.test,v 1.5 2002/07/14 15:45:23 dgp Exp $
package require tcltest 2.1
namespace import -force tcltest::configure
@@ -29,7 +29,7 @@ proc setup1 w {
button $w.b.$i -text "Button $w.b.$i"
pack $w.b.$i -side left
}
- if {[winfo ismapped $w.b.z]} {
+ if {![winfo ismapped $w.b.z]} {
tkwait visibility $w.b.z
}
}