index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2016-01-25 15:30:56 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-01-25 15:30:56 +1000 |
commit | 4291500c82b04bccc0509b6583d7bf266c87906a (patch) | |
tree | 684d1a62098b622abf49fc068fe2de64a281b1fd /src | |
parent | 47ea63ff3b9818e4b2edc94155345691f6472452 (diff) |
-rw-r--r-- | src/pacman/package.c | 6 |
diff --git a/src/pacman/package.c b/src/pacman/package.c index 23dfc271..ac474939 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -275,10 +275,10 @@ void dump_pkg_full(alpm_pkg_t *pkg, int extra) size = humanize_size(alpm_pkg_get_size(pkg), '\0', 2, &label); if(from == ALPM_PKG_FROM_SYNCDB) { - printf("%s%s%s %6.2f %s\n", config->colstr.title, titles[T_DOWNLOAD_SIZE], + printf("%s%s%s %.2f %s\n", config->colstr.title, titles[T_DOWNLOAD_SIZE], config->colstr.nocolor, size, label); } else if(from == ALPM_PKG_FROM_FILE) { - printf("%s%s%s %6.2f %s\n", config->colstr.title, titles[T_COMPRESSED_SIZE], + printf("%s%s%s %.2f %s\n", config->colstr.title, titles[T_COMPRESSED_SIZE], config->colstr.nocolor, size, label); } else { /* autodetect size for "Installed Size" */ @@ -286,7 +286,7 @@ void dump_pkg_full(alpm_pkg_t *pkg, int extra) } size = humanize_size(alpm_pkg_get_isize(pkg), label[0], 2, &label); - printf("%s%s%s %6.2f %s\n", config->colstr.title, titles[T_INSTALLED_SIZE], + printf("%s%s%s %.2f %s\n", config->colstr.title, titles[T_INSTALLED_SIZE], config->colstr.nocolor, size, label); string_display(titles[T_PACKAGER], alpm_pkg_get_packager(pkg), cols); |