gitk: trivial indentation fix

No functional changes. Signed-off-by: Halil Sen <halil.sen@gmail.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>

halilsen committed Feb 20, 2022 at 19:47 UTC 1f6b196665704023fb14644e93b869ce54ee2452
1 file changed +7 -7
gitk
+7 -7
@@ -2955,9 +2955,9 @@ proc savestuff {w} {
2955 proc resizeclistpanes {win w} {
2956 global oldwidth oldsash use_ttk
2957 if {[info exists oldwidth($win)]} {
2958 - if {[info exists oldsash($win)]} {
2959 - set s0 [lindex $oldsash($win) 0]
2960 - set s1 [lindex $oldsash($win) 1]
2958 + if {[info exists oldsash($win)]} {
2959 + set s0 [lindex $oldsash($win) 0]
2960 + set s1 [lindex $oldsash($win) 1]
2961 } elseif {$use_ttk} {
2962 set s0 [$win sashpos 0]
2963 set s1 [$win sashpos 1]
@@ -2992,7 +2992,7 @@ proc resizeclistpanes {win w} {
2992 $win sash place 0 $sash0 [lindex $s0 1]
2993 $win sash place 1 $sash1 [lindex $s1 1]
2994 }
2995 - set oldsash($win) [list $sash0 $sash1]
2995 + set oldsash($win) [list $sash0 $sash1]
2996 }
2997 set oldwidth($win) $w
2998 }
@@ -3000,8 +3000,8 @@ proc resizeclistpanes {win w} {
3000 proc resizecdetpanes {win w} {
3001 global oldwidth oldsash use_ttk
3002 if {[info exists oldwidth($win)]} {
3003 - if {[info exists oldsash($win)]} {
3004 - set s0 $oldsash($win)
3003 + if {[info exists oldsash($win)]} {
3004 + set s0 $oldsash($win)
3005 } elseif {$use_ttk} {
3006 set s0 [$win sashpos 0]
3007 } else {
@@ -3024,7 +3024,7 @@ proc resizecdetpanes {win w} {
3024 } else {
3025 $win sash place 0 $sash0 [lindex $s0 1]
3026 }
3027 - set oldsash($win) $sash0
3027 + set oldsash($win) $sash0
3028 }
3029 set oldwidth($win) $w
3030 }