Menu

Commit [r179]  Maximize  Restore  History

Fix off-by-one due to typo

dorothyr 2022-04-24

changed /branches/native_combobox/tkdiff
/branches/native_combobox/tkdiff Diff Switch to side-by-side view
--- a/branches/native_combobox/tkdiff
+++ b/branches/native_combobox/tkdiff
@@ -5219,7 +5219,7 @@
         bind $w(combo) <<PrevWindow>> "[bind all <<PrevWindow>>] ; break"
         bind $w(combo) <<NextWindow>> "[bind all <<NextWindow>>] ; break"
         bind $w(combo) <<ComboboxSelected>> {
-          set idx [$w(combo) current]; incr $idx; move $idx 0 1
+          set idx [$w(combo) current]; incr idx; move $idx 0 1
         }
 
     # Next, the simple BUTTONS (table driven enforces visual/naming uniformity)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.