Re: [PATCH] gitk: Fix typo in proc blobdiffmaybeseehere

2013-12-19 Thread Thomas Rast
Johannes Sixt writes: > 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 ..." > (proc

[PATCH] gitk: Fix typo in proc blobdiffmaybeseehere

2013-12-18 Thread Johannes Sixt
From: Johannes Sixt 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