gitk: Fix Tcl error: can't unset findcurline
commiteb33a67f218b612f6fb1456e19b40a1f97ff02c0
authorPaul Mackerras <paulus@samba.org>
Fri, 19 Oct 2007 09:09:43 +0000 (19 19:09 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 19 Oct 2007 09:09:43 +0000 (19 19:09 +1000)
tree1e3ca1d31645b47aefd0489542d16c6bfa2863ee
parent8d73b242a53da9ea36800a8ff0f9993e5100ea24
gitk: Fix Tcl error: can't unset findcurline

The logic in stopfinding assumes that findcurline will be set if
find_dirn is, but findnext and findprev can set find_dirn without
setting findcurline.  This makes sure we only set find_dirn in those
places if findcurline is already set.

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk