summaryrefslogtreecommitdiffstats
path: root/library/focus.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/focus.tcl')
-rw-r--r--library/focus.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/focus.tcl b/library/focus.tcl
index d1cf4a6..1658988 100644
--- a/library/focus.tcl
+++ b/library/focus.tcl
@@ -3,7 +3,7 @@
# This file defines several procedures for managing the input
# focus.
#
-# RCS: @(#) $Id: focus.tcl,v 1.6 2000/03/02 23:52:45 hobbs Exp $
+# RCS: @(#) $Id: focus.tcl,v 1.7 2000/03/31 09:24:11 hobbs Exp $
#
# Copyright (c) 1994-1995 Sun Microsystems, Inc.
#
@@ -24,7 +24,7 @@
proc tk_focusNext w {
set cur $w
- while 1 {
+ while {1} {
# Descend to just before the first child of the current widget.
@@ -34,7 +34,7 @@ proc tk_focusNext w {
# Look for the next sibling that isn't a top-level.
- while 1 {
+ while {1} {
incr i
if {$i < [llength $children]} {
set cur [lindex $children $i]
@@ -76,7 +76,7 @@ proc tk_focusNext w {
proc tk_focusPrev w {
set cur $w
- while 1 {
+ while {1} {
# Collect information about the current window's position
# among its siblings. Also, if the window is a top-level,