Use the multibyte aware string functions for typeahead search and filtering so

that special characters can be used as well (umlauts for example).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35375 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2010-02-01 05:30:08 +00:00
parent 5cd9308ef4
commit b3e4ce5422
5 changed files with 20 additions and 26 deletions
+1 -2
View File
@@ -1585,8 +1585,7 @@ BootedInSafeMode()
float
ComputeTypeAheadScore(const char *text, const char *match, size_t matchLength,
bool wordMode)
ComputeTypeAheadScore(const char *text, const char *match, bool wordMode)
{
// highest score: exact match
const char* found = strcasestr(text, match);