fzy

terminal fuzzy finder picker

git clone https://9o.is/git/fzy.git

commit bf634f3e9df0cac5e282e7cd94087f8e2b6f91d7
parent 9bce793229d8ab18b9f36071269dd718ba000791
Author: John Hawthorn <john.hawthorn@gmail.com>
Date:   Sat,  9 Jan 2016 19:49:51 -0800

Fix indentation

Diffstat:
Mfzy.c | 10+++++-----
Mfzytest.c | 1-
2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/fzy.c b/fzy.c @@ -221,12 +221,12 @@ int main(int argc, char *argv[]) { break; case 'b': if (optarg) { - if (sscanf(optarg, "%d", &benchmark) != 1) { - usage(argv[0]); - exit(EXIT_FAILURE); - } + if (sscanf(optarg, "%d", &benchmark) != 1) { + usage(argv[0]); + exit(EXIT_FAILURE); + } } else { - benchmark = 100; + benchmark = 100; } break; case 't': diff --git a/fzytest.c b/fzytest.c @@ -108,7 +108,6 @@ void test_positions_5() { assert(positions[2] == 6); } - void test_positions_exact() { size_t positions[3]; match_positions("foo", "foo", positions);