chiark / gitweb /
Tracks: fix further completion-checking loopholes.
authorSimon Tatham <anakin@pobox.com>
Fri, 26 Feb 2016 06:59:46 +0000 (06:59 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 26 Feb 2016 06:59:46 +0000 (06:59 +0000)
commit70cb6cfa7abae854a201532f31bfdb1f19b4a8f4
tree472d7d8163df57e90fea804fea56f732376bb3c7
parentadc54741f03cf0cc5c639e917afd2442da9e3422
Tracks: fix further completion-checking loopholes.

A user pointed out that Tracks could sometimes flash for completion
when there wasn't even a full path from A to B! And it looks as if
that wasn't even a mistake I introduced with the loop-checking revamp
this week.

Now I _think_ it's complete: we set ret=FALSE in check_completion
wherever we also produce an error highlight, and also whenever there
is no path connecting A with B. And if there is a path connecting A
with B, then any square not on the path becomes an error highlight.
tracks.c