From 34e62d387509bb3eec9aafdd9b35a6d832cfd10f Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 17 Jan 2023 11:24:30 +0800 Subject: refactor: remove char_u from arguments of fuzzy_match() Also change some single quotes to double quotes. --- src/nvim/quickfix.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/nvim/quickfix.c') diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index c895ac16f1..3d09fa1030 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -5230,8 +5230,7 @@ static bool vgr_match_buflines(qf_list_T *qfl, char *fname, buf_T *buf, char *sp const size_t sz = sizeof(matches) / sizeof(matches[0]); // Fuzzy string match - while (fuzzy_match((char_u *)str + col, (char_u *)spat, false, &score, matches, - (int)sz) > 0) { + while (fuzzy_match(str + col, spat, false, &score, matches, (int)sz) > 0) { // Pass the buffer number so that it gets used even for a // dummy buffer, unless duplicate_name is set, then the // buffer will be wiped out below. -- cgit