diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-12-10 21:26:47 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-01-20 17:42:03 +0100 |
commit | 7e70f2cb0e43c8c4e4eddb508d8b0f83116f4871 (patch) | |
tree | 3c2fe8b53a15cc8123cb84c168d565c687befbc9 | |
parent | 1d2a1a0cb808fafa4d5e4b818a56e234040d8cf2 (diff) | |
download | systemd-7e70f2cb0e43c8c4e4eddb508d8b0f83116f4871.tar.gz |
locale-util: add special glyph Σ
-rw-r--r-- | src/basic/locale-util.c | 2 | ||||
-rw-r--r-- | src/basic/locale-util.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/basic/locale-util.c b/src/basic/locale-util.c index d2da6e58d7..96151ffbf8 100644 --- a/src/basic/locale-util.c +++ b/src/basic/locale-util.c @@ -347,6 +347,7 @@ const char *special_glyph(SpecialGlyph code) { [SPECIAL_GLYPH_CROSS_MARK] = "-", [SPECIAL_GLYPH_LIGHT_SHADE] = "-", [SPECIAL_GLYPH_DARK_SHADE] = "X", + [SPECIAL_GLYPH_SIGMA] = "S", [SPECIAL_GLYPH_ARROW] = "->", [SPECIAL_GLYPH_ELLIPSIS] = "...", [SPECIAL_GLYPH_ECSTATIC_SMILEY] = ":-]", @@ -375,6 +376,7 @@ const char *special_glyph(SpecialGlyph code) { [SPECIAL_GLYPH_CROSS_MARK] = "\342\234\227", /* ✗ (actually called: BALLOT X) */ [SPECIAL_GLYPH_LIGHT_SHADE] = "\342\226\221", /* ░ */ [SPECIAL_GLYPH_DARK_SHADE] = "\342\226\223", /* ▒ */ + [SPECIAL_GLYPH_SIGMA] = "\316\243", /* Σ */ /* Single glyph in Unicode, two in ASCII */ [SPECIAL_GLYPH_ARROW] = "\342\206\222", /* → (actually called: RIGHTWARDS ARROW) */ diff --git a/src/basic/locale-util.h b/src/basic/locale-util.h index 79242a3e76..cefc4e7f0e 100644 --- a/src/basic/locale-util.h +++ b/src/basic/locale-util.h @@ -53,6 +53,7 @@ typedef enum { SPECIAL_GLYPH_ELLIPSIS, SPECIAL_GLYPH_LIGHT_SHADE, SPECIAL_GLYPH_DARK_SHADE, + SPECIAL_GLYPH_SIGMA, _SPECIAL_GLYPH_FIRST_SMILEY, SPECIAL_GLYPH_ECSTATIC_SMILEY = _SPECIAL_GLYPH_FIRST_SMILEY, SPECIAL_GLYPH_HAPPY_SMILEY, |