summaryrefslogtreecommitdiff
path: root/indra/llui/llemojidictionary.h
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2022-11-08 00:16:58 +0100
committerKitty Barnett <develop@catznip.com>2022-11-08 01:05:01 +0100
commit81dd143d0d901e8e5234cff01fbda246e4621628 (patch)
tree948c765937ce5ebe57bb98115e8d6efa754c60c6 /indra/llui/llemojidictionary.h
parentec6c4f102f8b23e0c79dd2c1c0ecbad54f019566 (diff)
[FIXED] Various minor issues
- Typing :+1: doesn't replace the short code with the thumbs-up emoji - Moving the mouse over the emoji complete panel highlights the wrong emoji when mScrollPos > 0 - Emoji complete panel is missing attributes - Crash when attempting to show the tooltip for an emoji text segment - Emoji autocomplete panel can sometimes show empty (type ':cat', select the heart eyed one, Ctrl-Z and then type 2 which should show the emoji for :cat2 but shows an empty square instead)
Diffstat (limited to 'indra/llui/llemojidictionary.h')
-rw-r--r--indra/llui/llemojidictionary.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llemojidictionary.h b/indra/llui/llemojidictionary.h
index 0cde663719..46a61f1cd7 100644
--- a/indra/llui/llemojidictionary.h
+++ b/indra/llui/llemojidictionary.h
@@ -66,8 +66,8 @@ private:
private:
std::list<LLEmojiDescriptor> mEmojis;
- std::map<llwchar, const LLEmojiDescriptor&> mEmoji2Descr;
- std::map<std::string, const LLEmojiDescriptor&> mShortCode2Descr;
+ std::map<llwchar, const LLEmojiDescriptor*> mEmoji2Descr;
+ std::map<std::string, const LLEmojiDescriptor*> mShortCode2Descr;
};
// ============================================================================