gitk: Fix typo in proc blobdiffmaybeseehere
commit2e82d0420dfe846fecc8f7b0f5bce684956d719e
authorJohannes Sixt <j6t@kdbg.org>
Thu, 19 Dec 2013 07:10:59 +0000 (19 08:10 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Thu, 19 Dec 2013 07:14:47 +0000 (19 08:14 +0100)
tree5486ccd1993424399dfae7528b82be112df9633c
parentaf81d2f3db3bb718bc2e4edd3cba088de0e559fb
gitk: Fix typo in proc blobdiffmaybeseehere

The recent 5de460a2 (Refactor per-line part of getblobdiffline and its
support) introduced blobdiffmaybeseehere, and accidentally forgot the '$'
to access the parameter as a TCL variable. This resulted in a failing
"Back" button with the error

can't use non-numeric string as operand of "!"
    while executing
"if {!$ateof} {
set nlines [expr {[winfo height $ctext]
  / [font metrics textfont -linespace]}]
if {[$ctext compare "$target_scrollpos + $nlines ..."
    (procedure "maybe_scroll_ctext" line 5)

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
gitk