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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user