From 2f4c1fe647ce3a65413ec6317ec98405f11a7539 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 10 Mar 2007 20:36:20 +0000 Subject: * Updated Italian translation Giovanni Scafora * long -> float conversion for package size output (which still may be the wrong size, this needs to be looked at) --- src/pacman/package.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pacman/package.c b/src/pacman/package.c index 091ed9ed..5c27b665 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -83,7 +83,7 @@ void dump_pkg_full(pmpkg_t *pkg, int level) list_display(_("Required By :"), alpm_pkg_get_requiredby(pkg)); } list_display(_("Conflicts With :"), alpm_pkg_get_conflicts(pkg)); - printf(_("Installed Size : %ld K\n"), (long)alpm_pkg_get_size(pkg) / 1024); + printf(_("Installed Size : %6.2f K\n"), (float)alpm_pkg_get_size(pkg) / 1024.0); printf(_("Packager : %s\n"), (char *)alpm_pkg_get_packager(pkg)); printf(_("Architecture : %s\n"), (char *)alpm_pkg_get_arch(pkg)); printf(_("Build Date : %s %s\n"), bdate, strlen(bdate) ? "UTC" : ""); -- cgit v1.2.3-70-g09d2