commit | 47f1a55849a73cefe738a246798221e45448546a | [log] [tgz] |
---|---|---|
author | Kazuyuki Miyagi <yuzu3886@gmail.com> | Fri Jun 17 18:30:03 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jun 17 18:30:03 2022 +0100 |
tree | 5f3cd273b71e510e46ded724512a5cff1d1600fe | |
parent | d592deb336523a5448779ee3d4bba80334cff1f7 [diff] [blame] |
patch 8.2.5116: "limit" option of matchfuzzy() not always respected Problem: "limit" option of matchfuzzy() not always respected. Solution: Remove "else". (Kazuyuki Miyagi, closes #10586)
diff --git a/src/search.c b/src/search.c index e78e36b..c7309ee 100644 --- a/src/search.c +++ b/src/search.c
@@ -4844,7 +4844,8 @@ return; } } - else if ((di = dict_find(d, (char_u *)"limit", -1)) != NULL) + + if ((di = dict_find(d, (char_u *)"limit", -1)) != NULL) { if (di->di_tv.v_type != VAR_NUMBER) {