aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-11-05 18:24:14 +0100
committerdec05eba <dec05eba@protonmail.com>2022-11-05 18:24:14 +0100
commit5836c731bd57a6d892f77d7d0c52e6bf74bde0a1 (patch)
treeb1acaa7f764ee241318ea459a45782df736835ec /src
parent46c1959e5b538b45ad7b55f80673952b031e5303 (diff)
Trooneyjak
Diffstat (limited to 'src')
-rw-r--r--src/Text.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Text.cpp b/src/Text.cpp
index 3fd8975..192061f 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -511,8 +511,14 @@ namespace QuickMedia
emoji_codepoint_combined = "1f441-200d-1f5e8";
std::string image_url;
- bool image_local = true;
- image_url = "/usr/share/quickmedia/emoji/" + emoji_codepoint_combined + ".png";
+ bool image_local = false;
+ if(emoji_codepoint_combined != "1f3f3-fe0f-200d-26a7-fe0f") {
+ image_url = "/usr/share/quickmedia/emoji/" + emoji_codepoint_combined + ".png";
+ image_local = true;
+ } else {
+ image_url = "/usr/share/quickmedia/images/troonjak.png";
+ image_local = true;
+ }
text_element.create_text("E");
text_element.text_type = TextElement::TextType::EMOJI;