From c30208d598d43779cea7b5de50c44d4b21b16487 Mon Sep 17 00:00:00 2001 From: Alexander Gavriliuk Date: Fri, 8 Sep 2023 01:02:06 +0200 Subject: SL-19951 Organize emoji categories in groups (fix for German) --- indra/newview/llfloateremojipicker.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'indra/newview/llfloateremojipicker.cpp') diff --git a/indra/newview/llfloateremojipicker.cpp b/indra/newview/llfloateremojipicker.cpp index eea9c685b3..d24f627cdf 100644 --- a/indra/newview/llfloateremojipicker.cpp +++ b/indra/newview/llfloateremojipicker.cpp @@ -534,10 +534,9 @@ void LLFloaterEmojiPicker::fillEmojis(bool fromResize) for (const LLEmojiGroup& group : groups) { // List all categories in group - for (std::string category : group.Categories) + for (const 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()) { @@ -549,10 +548,9 @@ void LLFloaterEmojiPicker::fillEmojis(bool fromResize) else { // List all categories in the selected group - for (std::string category : groups[sSelectedGroupIndex].Categories) + for (const 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()) { -- cgit v1.2.3