Fix wrong search hit count shown on prev/next.
authorDaniel Carl <danielcarl@gmx.de>
Sun, 27 May 2018 22:18:34 +0000 (00:18 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sun, 27 May 2018 22:22:41 +0000 (00:22 +0200)
commit6eec70212b0ae31911636f4f99a71fc6c9241d59
tree4de07c2cc16431b238b149f458c5bd1e8b512eb9
parent4e8c5b284394b04573be56cdd85eda10b7107194
Fix wrong search hit count shown on prev/next.

If a search was done the shown number of search hits was right. But on
case of stepping through the list, the match count was updated by 1.
Now use the right signal "counted-matches" to get the real number of
search hits independent from stepping through the list.
src/command.c
src/main.c
src/main.h