]> git.neil.brown.name Git - edlib.git/commit
complete: ensure we only render matching lines.
authorNeilBrown <neil@brown.name>
Tue, 9 Jul 2019 01:20:00 +0000 (11:20 +1000)
committerNeilBrown <neil@brown.name>
Fri, 19 Jul 2019 21:59:08 +0000 (07:59 +1000)
commit8fdd8cf1ce86197d5b3ecc5a353f7106b0aa5a5e
treece67b534b652858ffe95343ee6e9b6c5d14b0d91
parent9431a1a4fa58e53114614ef95b102855f4c95379
complete: ensure we only render matching lines.

If Complete:prefix is called after a mark is found,
we can end up with a mark that is not at the start
of a matching line.
So we must stop assuming that the first line (after a given
mark) is match.  Always check.

Signed-off-by: NeilBrown <neil@brown.name>
render-complete.c