diff options
author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2023-09-04 19:20:43 +0200 |
---|---|---|
committer | akleshchev <117672381+akleshchev@users.noreply.github.com> | 2023-09-05 19:14:12 +0300 |
commit | a04f44b7fc76bdaa022642d6e01c72e5996eb989 (patch) | |
tree | 13e9d791394cb3128ba10ff804ff93ca1ae55792 /indra | |
parent | f7beaa49af4a475fb11d61a88d504d8539876294 (diff) |
Fix emoji category filter not working correctly
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfloateremojipicker.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llfloateremojipicker.cpp b/indra/newview/llfloateremojipicker.cpp index d24f627cdf..eea9c685b3 100644 --- a/indra/newview/llfloateremojipicker.cpp +++ b/indra/newview/llfloateremojipicker.cpp @@ -534,9 +534,10 @@ void LLFloaterEmojiPicker::fillEmojis(bool fromResize) for (const LLEmojiGroup& group : groups) { // List all categories in group - for (const std::string& category : group.Categories) + for (std::string category : group.Categories) { // List all emojis in category + LLStringUtil::toLower(category); const LLEmojiDictionary::cat2descrs_map_t::const_iterator& item = category2Descr.find(category); if (item != category2Descr.end()) { @@ -548,9 +549,10 @@ void LLFloaterEmojiPicker::fillEmojis(bool fromResize) else { // List all categories in the selected group - for (const std::string& category : groups[sSelectedGroupIndex].Categories) + for (std::string category : groups[sSelectedGroupIndex].Categories) { // List all emojis in category + LLStringUtil::toLower(category); const LLEmojiDictionary::cat2descrs_map_t::const_iterator& item = category2Descr.find(category); if (item != category2Descr.end()) { |