diff options
author | Shawn Landden <shawn@churchofgit.com> | 2013-09-20 18:37:33 -0700 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-10-13 17:56:54 -0400 |
commit | f405e86de361ec305dc2b8634efeaa23dc144053 (patch) | |
tree | b3fe37e4a143a5d2dee14eb34d96f96cb03b84fc /Makefile.am | |
parent | 14a9283eb38a93ec384c322ccbe06352c86a25f8 (diff) |
util, utf8: make ellipsize take multi-byte characters into account
rename old versions to ascii_*
Do not take into account zerowidth characters, but do consider double-wide characters.
Import needed utf8 helper code from glib.
v3: rebase ontop of utf8 restructuring work
[zj: tweak the algorithm a bit, move new code to separate file]
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index e5cd7a5ed8..fcdb69fd17 100644 --- a/Makefile.am +++ b/Makefile.am @@ -683,6 +683,8 @@ libsystemd_shared_la_SOURCES = \ src/shared/exit-status.h \ src/shared/utf8.c \ src/shared/utf8.h \ + src/shared/gunicode.c \ + src/shared/gunicode.h \ src/shared/pager.c \ src/shared/pager.h \ src/shared/ioprio.h \ |