mirror of
https://github.com/FirestormViewer/phoenix-firestorm.git
synced 2026-08-14 08:53:53 +00:00
#4723 Fix emoji warnings and missing emojis
This commit is contained in:
@@ -390,14 +390,17 @@ void LLEmojiDictionary::loadEmojis()
|
||||
continue;
|
||||
}
|
||||
|
||||
std::string category;
|
||||
std::list<std::string> categories = loadCategories(sd);
|
||||
if (categories.empty())
|
||||
{
|
||||
LL_WARNS() << "Skipping invalid emoji descriptor (no categories)" << LL_ENDL;
|
||||
continue;
|
||||
// Should already have a localization for "other symbols"
|
||||
category = "other symbols";
|
||||
}
|
||||
else
|
||||
{
|
||||
category = categories.front();
|
||||
}
|
||||
|
||||
std::string category = categories.front();
|
||||
|
||||
if (std::find(mSkipCategories.begin(), mSkipCategories.end(), category) != mSkipCategories.end())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user