diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Text.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Text.cpp b/src/Text.cpp index 74a0625..2a09336 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -572,6 +572,9 @@ namespace QuickMedia if(emoji_sequence_length > 0 && emoji_sequence[emoji_sequence_length - 1] == 0xfe0f && access(text_element.url.c_str(), F_OK) != 0) { emoji_codepoint_combined.erase(emoji_codepoint_combined.end() - 5, emoji_codepoint_combined.end()); text_element.url = "/usr/share/quickmedia/emoji/" + emoji_codepoint_combined + ".png"; + } else if(emoji_sequence_length > 0 && emoji_sequence[emoji_sequence_length - 1] != 0xfe0f && access(text_element.url.c_str(), F_OK) != 0) { + emoji_codepoint_combined += "-fe0f"; + text_element.url = "/usr/share/quickmedia/emoji/" + emoji_codepoint_combined + ".png"; } text_element.local = true; text_element.size = { (int)vspace, (int)vspace }; |