Make emote search case insensetive (emotes themself still are case sensetive)

This commit is contained in:
indev committed 2025-11-27 18:40:52 +03:00
1 parent 45ba69a45a
commit 7b4592377e
1 file changed
+1 -1
+1 -1
View File
@@ -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)