From: Lennart Poettering Date: Wed, 11 Apr 2018 17:49:50 +0000 (+0200) Subject: locale: add ellipsis as special glyph X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8d5db7532e577f4c5b4938cc551d8b6c040616d5;p=elogind.git locale: add ellipsis as special glyph --- diff --git a/src/basic/locale-util.c b/src/basic/locale-util.c index 01ab44d9a..9c3f757da 100644 --- a/src/basic/locale-util.c +++ b/src/basic/locale-util.c @@ -365,10 +365,11 @@ const char *special_glyph(SpecialGlyph code) { [BLACK_CIRCLE] = "*", [ARROW] = "->", [MDASH] = "-", + [ELLIPSIS] = "..." }, /* UTF-8 */ - [ true ] = { + [true] = { [TREE_VERTICAL] = "\342\224\202 ", /* │ */ [TREE_BRANCH] = "\342\224\234\342\224\200", /* ├─ */ [TREE_RIGHT] = "\342\224\224\342\224\200", /* └─ */ @@ -377,6 +378,7 @@ const char *special_glyph(SpecialGlyph code) { [BLACK_CIRCLE] = "\342\227\217", /* ● */ [ARROW] = "\342\206\222", /* → */ [MDASH] = "\342\200\223", /* – */ + [ELLIPSIS] = "\342\200\246", /* … */ }, }; diff --git a/src/basic/locale-util.h b/src/basic/locale-util.h index 510064232..144e2bc63 100644 --- a/src/basic/locale-util.h +++ b/src/basic/locale-util.h @@ -53,6 +53,7 @@ typedef enum { BLACK_CIRCLE, ARROW, MDASH, + ELLIPSIS, _SPECIAL_GLYPH_MAX } SpecialGlyph;