@@ -1004,55 +1004,55 @@ static void drawTextMessageFrame(OLEDDisplay *display, OLEDDisplayUiState *state
1004
1004
1005
1005
display->setColor (WHITE);
1006
1006
#ifndef EXCLUDE_EMOJI
1007
- if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 "\U0001F44D " ) == 0 ) {
1007
+ if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " \U0001F44D " ) == 0 ) {
1008
1008
display->drawXbm (x + (SCREEN_WIDTH - thumbs_width) / 2 ,
1009
1009
y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - thumbs_height) / 2 + 2 + 5 , thumbs_width, thumbs_height,
1010
1010
thumbup);
1011
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 "\U0001F44E " ) == 0 ) {
1011
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " \U0001F44E " ) == 0 ) {
1012
1012
display->drawXbm (x + (SCREEN_WIDTH - thumbs_width) / 2 ,
1013
1013
y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - thumbs_height) / 2 + 2 + 5 , thumbs_width, thumbs_height,
1014
1014
thumbdown);
1015
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 " ❓" ) == 0 ) {
1015
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " ❓" ) == 0 ) {
1016
1016
display->drawXbm (x + (SCREEN_WIDTH - question_width) / 2 ,
1017
1017
y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - question_height) / 2 + 2 + 5 , question_width, question_height,
1018
1018
question);
1019
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 " ‼️" ) == 0 ) {
1019
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " ‼️" ) == 0 ) {
1020
1020
display->drawXbm (x + (SCREEN_WIDTH - bang_width) / 2 , y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - bang_height) / 2 + 2 + 5 ,
1021
1021
bang_width, bang_height, bang);
1022
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 "\U0001F4A9 " ) == 0 ) {
1022
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " \U0001F4A9 " ) == 0 ) {
1023
1023
display->drawXbm (x + (SCREEN_WIDTH - poo_width) / 2 , y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - poo_height) / 2 + 2 + 5 ,
1024
1024
poo_width, poo_height, poo);
1025
1025
} else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " \xf0\x9f\xa4\xa3 " ) == 0 ) {
1026
1026
display->drawXbm (x + (SCREEN_WIDTH - haha_width) / 2 , y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - haha_height) / 2 + 2 + 5 ,
1027
1027
haha_width, haha_height, haha);
1028
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 "\U0001F44B " ) == 0 ) {
1028
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " \U0001F44B " ) == 0 ) {
1029
1029
display->drawXbm (x + (SCREEN_WIDTH - wave_icon_width) / 2 ,
1030
1030
y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - wave_icon_height) / 2 + 2 + 5 , wave_icon_width,
1031
1031
wave_icon_height, wave_icon);
1032
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 "\U0001F920 " ) == 0 ) {
1032
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " \U0001F920 " ) == 0 ) {
1033
1033
display->drawXbm (x + (SCREEN_WIDTH - cowboy_width) / 2 ,
1034
1034
y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - cowboy_height) / 2 + 2 + 5 , cowboy_width, cowboy_height,
1035
1035
cowboy);
1036
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 "\U0001F42D " ) == 0 ) {
1036
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " \U0001F42D " ) == 0 ) {
1037
1037
display->drawXbm (x + (SCREEN_WIDTH - deadmau5_width) / 2 ,
1038
1038
y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - deadmau5_height) / 2 + 2 + 5 , deadmau5_width, deadmau5_height,
1039
1039
deadmau5);
1040
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 "\xE2\x98\x80\xEF\xB8\x8F " ) == 0 ) {
1040
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " \xE2\x98\x80\xEF\xB8\x8F " ) == 0 ) {
1041
1041
display->drawXbm (x + (SCREEN_WIDTH - sun_width) / 2 , y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - sun_height) / 2 + 2 + 5 ,
1042
1042
sun_width, sun_height, sun);
1043
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 "\u2614 " ) == 0 ) {
1043
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " \u2614 " ) == 0 ) {
1044
1044
display->drawXbm (x + (SCREEN_WIDTH - rain_width) / 2 , y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - rain_height) / 2 + 2 + 10 ,
1045
1045
rain_width, rain_height, rain);
1046
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 " ☁️" ) == 0 ) {
1046
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " ☁️" ) == 0 ) {
1047
1047
display->drawXbm (x + (SCREEN_WIDTH - cloud_width) / 2 ,
1048
1048
y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - cloud_height) / 2 + 2 + 5 , cloud_width, cloud_height, cloud);
1049
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 " 🌫️" ) == 0 ) {
1049
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " 🌫️" ) == 0 ) {
1050
1050
display->drawXbm (x + (SCREEN_WIDTH - fog_width) / 2 , y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - fog_height) / 2 + 2 + 5 ,
1051
1051
fog_width, fog_height, fog);
1052
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 "\xf0\x9f\x98\x88 " ) == 0 ) {
1052
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " \xf0\x9f\x98\x88 " ) == 0 ) {
1053
1053
display->drawXbm (x + (SCREEN_WIDTH - devil_width) / 2 ,
1054
1054
y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - devil_height) / 2 + 2 + 5 , devil_width, devil_height, devil);
1055
- } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), u8 " ♥️" ) == 0 ) {
1055
+ } else if (strcmp (reinterpret_cast <const char *>(mp.decoded .payload .bytes ), " ♥️" ) == 0 ) {
1056
1056
display->drawXbm (x + (SCREEN_WIDTH - heart_width) / 2 ,
1057
1057
y + (SCREEN_HEIGHT - FONT_HEIGHT_MEDIUM - heart_height) / 2 + 2 + 5 , heart_width, heart_height, heart);
1058
1058
} else {
0 commit comments