Fix call site for wildcard_match_internal

This commit is contained in:
Mahmoud Al-Qudsi 2020-06-24 21:23:18 -05:00
parent a6f1e6119b
commit bfa17ecff6

View file

@ -353,7 +353,7 @@ bool wildcard_complete(const wcstring &str, const wchar_t *wc,
bool wildcard_match(const wcstring &str, const wcstring &wc, bool leading_dots_fail_to_match) {
enum fuzzy_match_type_t match =
wildcard_match_internal(str.c_str(), wc.c_str(), leading_dots_fail_to_match);
wildcard_match_internal(str, wc, leading_dots_fail_to_match);
return match != fuzzy_match_none;
}