Commit 28cb707
gitk: fix tabbed preferences construction when using tcl 8.4
In 8.5 the incr command creates the target variable if it does not exist
but in 8.4 using incr on a non-existing variable raises an error. Ensure
we have created our counter variable when creating the tabbed dialog for
non-themed preferences.
Reported-by: Ramsay Jones <[email protected]>
Signed-off-by: Pat Thoyts <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent b2b76d1 commit 28cb707
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11012 | 11012 | | |
11013 | 11013 | | |
11014 | 11014 | | |
| 11015 | + | |
11015 | 11016 | | |
11016 | 11017 | | |
11017 | 11018 | | |
| |||
0 commit comments