gitk proposed fix: handle more than one SHA1 links.
[git.git] / gitk
diff --git a/gitk b/gitk
index 59cdd85..63369f0 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -1802,6 +1802,7 @@ proc selectline {l isnew} {
        set linkid [string range $comment $s $e]
        if {![info exists idline($linkid)]} continue
        incr e
+       incr i
        $ctext tag conf link$i -foreground blue -underline 1
        $ctext tag add link$i "$commentstart + $s c" "$commentstart + $e c"
        $ctext tag bind link$i <1> [list selectline $idline($linkid) 1]