summaryrefslogtreecommitdiffstats
path: root/src/basic/locale-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-01-07 10:51:50 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-01-07 13:21:22 +0100
commit67861acdf3f02f2bb3529c1d34fe161d07d1bea9 (patch)
treec5bfd93c58d1be30a51f4385e927ec8018bbd167 /src/basic/locale-util.h
parentMerge pull request #14420 from DaanDeMeyer/nspawn-fix-read-only-overlay-rootfs (diff)
downloadsystemd-67861acdf3f02f2bb3529c1d34fe161d07d1bea9.tar.xz
systemd-67861acdf3f02f2bb3529c1d34fe161d07d1bea9.zip
locale-util: extend comments on unicode glyph use, and drop mdash (that actually was an ndash)
Let's add the actual unicode names of the glyphs we use. Let's also add in comments what the width expectations of these glyphs are on the console. Also, remove the "mdash" definition. First of all it wasn't used, but what's worse the glyph encoded was actually an "ndash"... Fixes: #14075
Diffstat (limited to 'src/basic/locale-util.h')
-rw-r--r--src/basic/locale-util.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/basic/locale-util.h b/src/basic/locale-util.h
index 78abbafd8f..1df8ac4cb0 100644
--- a/src/basic/locale-util.h
+++ b/src/basic/locale-util.h
@@ -46,12 +46,11 @@ typedef enum {
SPECIAL_GLYPH_TRIANGULAR_BULLET,
SPECIAL_GLYPH_BLACK_CIRCLE,
SPECIAL_GLYPH_BULLET,
- SPECIAL_GLYPH_ARROW,
- SPECIAL_GLYPH_MDASH,
- SPECIAL_GLYPH_ELLIPSIS,
SPECIAL_GLYPH_MU,
SPECIAL_GLYPH_CHECK_MARK,
SPECIAL_GLYPH_CROSS_MARK,
+ SPECIAL_GLYPH_ARROW,
+ SPECIAL_GLYPH_ELLIPSIS,
_SPECIAL_GLYPH_FIRST_SMILEY,
SPECIAL_GLYPH_ECSTATIC_SMILEY = _SPECIAL_GLYPH_FIRST_SMILEY,
SPECIAL_GLYPH_HAPPY_SMILEY,