Make emote search case insensetive (emotes themself still are case sensetive)
This commit is contained in:
1 parent
45ba69a45a
commit
7b4592377e
1 file changed
+1
-1
+1
-1
@@ -200,7 +200,7 @@ emote_t *M_FindEmote(const char *name, int len, int skip)
|
||||
|
||||
for (auto &pair: emotes)
|
||||
{
|
||||
if (pair.first.rfind(query) == std::string::npos)
|
||||
if (strcasestr(pair.first.c_str(), query) == NULL)
|
||||
continue;
|
||||
|
||||
if (skip > 0)
|
||||
|
||||
Reference in new issue
Block a user