diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-19 15:57:07 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-20 00:09:52 -0400 |
commit | 953c3fcfee416d5e390643d384aa39b68e720374 (patch) | |
tree | a824a57dc6bd4961c53dc728c1da55a45adb0af2 | |
parent | f528aeff6edc7a0a3d841050ca74603720313bcb (diff) | |
download | rneovim-953c3fcfee416d5e390643d384aa39b68e720374.tar.gz rneovim-953c3fcfee416d5e390643d384aa39b68e720374.tar.bz2 rneovim-953c3fcfee416d5e390643d384aa39b68e720374.zip |
lint
-rw-r--r-- | src/nvim/search.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c index dac88941dd..b58707a3c1 100644 --- a/src/nvim/search.c +++ b/src/nvim/search.c @@ -3957,9 +3957,9 @@ current_search( if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor)) dec_cursor(); - pos_T orig_pos; /* position of the cursor at beginning */ + pos_T orig_pos; // position of the cursor at beginning pos_T first_match; // position of first match - pos_T pos; /* position after the pattern */ + pos_T pos; // position after the pattern int result; // result of various function calls if (VIsual_active) { @@ -3996,8 +3996,8 @@ current_search( flags = SEARCH_END; result = searchit(curwin, curbuf, &pos, (dir ? FORWARD : BACKWARD), - spats[last_idx].pat, i ? count : 1, - SEARCH_KEEP | flags, RE_SEARCH, 0, NULL); + spats[last_idx].pat, i ? count : 1, + SEARCH_KEEP | flags, RE_SEARCH, 0, NULL); /* First search may fail, but then start searching from the * beginning of the file (cursor might be on the search match) |