summaryrefslogtreecommitdiff
path: root/test/scripts/makepkg-template-tests/name-charset-invalid/testcase-config
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2016-02-01 12:14:47 -0500
committerAllan McRae <allan@archlinux.org>2016-02-20 14:01:52 +1000
commitc1bb41a0378736e0fdd535541daa8cd7d09a4cc6 (patch)
treedecb94668a0f374cd996fdbbb227cee82a09f8f8 /test/scripts/makepkg-template-tests/name-charset-invalid/testcase-config
parent252183b4093b8c82ad19159d23bdd2cf0e2d574e (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 'test/scripts/makepkg-template-tests/name-charset-invalid/testcase-config')
0 files changed, 0 insertions, 0 deletions