summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hartwig <mandyke@gmail.com>2012-03-23 11:07:53 +0800
committerDaniel Hartwig <mandyke@gmail.com>2012-03-23 11:07:53 +0800
commit658cab815dcfaf17b9aabe2cb460b013f5ac1157 (patch)
tree0d2ea28daaee3db903abb4224e41d29841c12cb7
parent0a4f62b4fa1f4d89fbd70dc7e185a54194aecb40 (diff)
downloadaptitude-658cab815dcfaf17b9aabe2cb460b013f5ac1157.tar.gz
More nice size on cmdline_download_progress
-rw-r--r--src/cmdline/cmdline_download_progress_display.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmdline/cmdline_download_progress_display.cc b/src/cmdline/cmdline_download_progress_display.cc
index 99e9745f..1588af95 100644
--- a/src/cmdline/cmdline_download_progress_display.cc
+++ b/src/cmdline/cmdline_download_progress_display.cc
@@ -360,7 +360,8 @@ namespace aptitude
// The old download indicator displayed a size of 0 if
// current_size was 0. I figure if we have no total size
// and we haven't downloaded anything, there's no poing.
- components.push_back((wformat(L"%lu") % current_size).str());
+ components.push_back((wformat(L"%sB")
+ % transcode(SizeToStr(current_size))).str());
output += join(components, L" ");
}