gitk: Fix bug in the anc_or_desc routine
commit69c0b5d2408cfe207f2976fc99cbe71208ba83ad
authorPaul Mackerras <paulus@samba.org>
Wed, 4 Jul 2007 11:57:04 +0000 (4 21:57 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 4 Jul 2007 11:57:04 +0000 (4 21:57 +1000)
tree7aefca5ab89e7eb8687ad53f43c9457f7ea13585
parent4fb0fa197e14c82d64adb292320f9444d7ac46c5
gitk: Fix bug in the anc_or_desc routine

I missed the case where both nodes have no children and therefore
have no incoming arcs.  This fixes it.

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