diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2016-02-01 12:14:47 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-02-20 14:01:52 +1000 |
commit | c1bb41a0378736e0fdd535541daa8cd7d09a4cc6 (patch) | |
tree | decb94668a0f374cd996fdbbb227cee82a09f8f8 /scripts/libmakepkg/lint_pkgbuild/backup.sh.in | |
parent | 252183b4093b8c82ad19159d23bdd2cf0e2d574e (diff) |
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>
Diffstat (limited to 'scripts/libmakepkg/lint_pkgbuild/backup.sh.in')
0 files changed, 0 insertions, 0 deletions