summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-31 23:11:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-31 23:11:05 (GMT)
commitd15b757a1eeb4d2fb77ad0d71e802f640672eeff (patch)
treea51738aff6e5a3b9c6e163295ffe97c50a775d05 /library
parent8437a269e53441371324003f1efe5873aad83d80 (diff)
downloadtk-d15b757a1eeb4d2fb77ad0d71e802f640672eeff.zip
tk-d15b757a1eeb4d2fb77ad0d71e802f640672eeff.tar.gz
tk-d15b757a1eeb4d2fb77ad0d71e802f640672eeff.tar.bz2
Fix [c311666f9c]: library/menu.tcl typo
Diffstat (limited to 'library')
-rw-r--r--library/menu.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/menu.tcl b/library/menu.tcl
index d74c9d2..57dc963 100644
--- a/library/menu.tcl
+++ b/library/menu.tcl
@@ -827,7 +827,7 @@ proc ::tk::MenuNextEntry {menu count} {
set length [expr {$last+1}]
set quitAfter $length
set activeindex [$menu index active]
- if {$actactiveindexive < 0} {
+ if {$activeindex < 0} {
set i 0
} else {
set i [expr {$activeindex + $count}]