diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2008-02-17 23:31:26 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-17 20:41:23 -0600 |
commit | 2374c81e55abc0f7252fad7eb53d2b75bb33f750 (patch) | |
tree | 112bb8e591fdb6000114767bb7dec44ada4995de /lib/libalpm/.gitignore | |
parent | 42f5579fd77e9b696024c4bc0eb5398c039c7256 (diff) | |
download | pacman-2374c81e55abc0f7252fad7eb53d2b75bb33f750.tar.xz |
Fix conflict progress bar with UTF-8 chars
This fixes FS#6437. Dan already explained the problem in that bug report.
Instead of letting printf deal with the length of utf8 strings, we can
handle it more explicitly in the case of conflict progress bar, just like we
do for add/remove progress bars. We compute the remaining space left for
displaying the pkgname in case of add/remove, and an empty string in case of
conflict.
Before :
(1/1) Prüfe auf Dateikonflikte [###################] 100%
(1/1) Aktualisiere rxvt-unicode [###################] 100%
After :
(1/1) Prüfe auf Dateikonflikte [###################] 100%
(1/1) Aktualisiere rxvt-unicode [###################] 100%
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/.gitignore')
0 files changed, 0 insertions, 0 deletions