pacman/src
Andrew Gregory c1bb41a037 dump_pkg_info: fix wide character title alignment
The padding added to the end of the title was based on the return value
of mbstowcs which is the number of characters.  This caused alignment
issues for languages with characters that span multiple columns.
Instead, base the padding on the number of columns needed by the
translated string as returned by wcswidth.

Fixes #47980

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
2016-02-20 14:01:52 +10:00
..
common Update copyright years for 2016 2016-01-04 13:27:08 +10:00
pacman dump_pkg_info: fix wide character title alignment 2016-02-20 14:01:52 +10:00
util pacsort, introduce define for escape_char error code 2016-01-04 14:05:28 +10:00