forked from organicmaps/organicmaps
[search] Do not match Wi-Fi with “wi” or “fi” token.
This commit is contained in:
parent
3170c937d9
commit
ccf0797fb0
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ bool CategoriesHolder::ValidKeyToken(StringT const & s)
|
|||
return true;
|
||||
|
||||
/// @todo We need to have global stop words array for the most used languages.
|
||||
char const * arr[] = { "a", "z", "s", "d", "di", "de", "le" };
|
||||
char const * arr[] = { "a", "z", "s", "d", "di", "de", "le", "wi", "fi" };
|
||||
for (size_t i = 0; i < ARRAY_SIZE(arr); ++i)
|
||||
if (s.IsEqualAscii(arr[i]))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue