summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/remove.c
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2016-02-01 18:14:47 +0100
committerAllan McRae <allan@archlinux.org>2016-02-20 05:01:52 +0100
commitc1bb41a0378736e0fdd535541daa8cd7d09a4cc6 (patch)
treedecb94668a0f374cd996fdbbb227cee82a09f8f8 /lib/libalpm/remove.c
parent252183b4093b8c82ad19159d23bdd2cf0e2d574e (diff)
downloadpacman-c1bb41a0378736e0fdd535541daa8cd7d09a4cc6.tar.gz
pacman-c1bb41a0378736e0fdd535541daa8cd7d09a4cc6.tar.xz
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 'lib/libalpm/remove.c')
0 files changed, 0 insertions, 0 deletions