summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e0a0199)
raw | patch | inline | side by side (parent: e0a0199)
author | Markus Heidelberg <markus.heidelberg@web.de> | |
Sat, 23 May 2009 17:31:37 +0000 (19:31 +0200) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sun, 24 May 2009 23:46:31 +0000 (09:46 +1000) |
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 72b0b0df7a6dc77b82bbdb6cc1635433d02a6b71..4604c831fe0c5ac9b855cdef6f71888e99dd9462 100755 (executable)
--- a/gitk
+++ b/gitk
label .bleft.mid.labeldiffcontext -text " [mc "Lines of context"]: "
pack .bleft.mid.diff .bleft.mid.old .bleft.mid.new -side left
spinbox .bleft.mid.diffcontext -width 5 -font textfont \
- -from 1 -increment 1 -to 10000000 \
+ -from 0 -increment 1 -to 10000000 \
-validate all -validatecommand "diffcontextvalidate %P" \
-textvariable diffcontextstring
.bleft.mid.diffcontext set $diffcontext
global diffcontextstring diffcontext
if {[string is integer -strict $diffcontextstring]} {
- if {$diffcontextstring > 0} {
+ if {$diffcontextstring >= 0} {
set diffcontext $diffcontextstring
reselectline
}