diff --git a/src/basic/glyph-util.c b/src/basic/glyph-util.c index bac75a053af..803bdd90e24 100644 --- a/src/basic/glyph-util.c +++ b/src/basic/glyph-util.c @@ -134,6 +134,8 @@ const char *special_glyph_full(SpecialGlyph code, bool force_utf) { [SPECIAL_GLYPH_SPARKLES] = u8"✨", [SPECIAL_GLYPH_LOW_BATTERY] = u8"🪫", [SPECIAL_GLYPH_WARNING_SIGN] = u8"⚠️", + [SPECIAL_GLYPH_COMPUTER_DISK] = u8"💽", + [SPECIAL_GLYPH_WORLD] = u8"🌍", }, }; diff --git a/src/basic/glyph-util.h b/src/basic/glyph-util.h index 451ec9af25b..a7709976e1d 100644 --- a/src/basic/glyph-util.h +++ b/src/basic/glyph-util.h @@ -47,6 +47,8 @@ typedef enum SpecialGlyph { SPECIAL_GLYPH_SPARKLES, SPECIAL_GLYPH_LOW_BATTERY, SPECIAL_GLYPH_WARNING_SIGN, + SPECIAL_GLYPH_COMPUTER_DISK, + SPECIAL_GLYPH_WORLD, _SPECIAL_GLYPH_MAX, _SPECIAL_GLYPH_INVALID = -EINVAL, } SpecialGlyph; diff --git a/src/test/test-locale-util.c b/src/test/test-locale-util.c index 9cf0bf42bf3..39f71c67d36 100644 --- a/src/test/test-locale-util.c +++ b/src/test/test-locale-util.c @@ -82,7 +82,7 @@ TEST(keymaps) { #define dump_glyph(x) log_info(STRINGIFY(x) ": %s", special_glyph(x)) TEST(dump_special_glyphs) { - assert_cc(SPECIAL_GLYPH_WARNING_SIGN + 1 == _SPECIAL_GLYPH_MAX); + assert_cc(SPECIAL_GLYPH_WORLD + 1 == _SPECIAL_GLYPH_MAX); log_info("is_locale_utf8: %s", yes_no(is_locale_utf8())); @@ -125,6 +125,8 @@ TEST(dump_special_glyphs) { dump_glyph(SPECIAL_GLYPH_SPARKLES); dump_glyph(SPECIAL_GLYPH_LOW_BATTERY); dump_glyph(SPECIAL_GLYPH_WARNING_SIGN); + dump_glyph(SPECIAL_GLYPH_COMPUTER_DISK); + dump_glyph(SPECIAL_GLYPH_WORLD); } DEFINE_TEST_MAIN(LOG_INFO);