diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-08-27 14:16:07 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-08-27 14:16:07 +0200 |
commit | fe58cbc86638e214fa137166a704fbff798c546a (patch) | |
tree | fcd445921d800462a2dab16db2951024440d4956 /apt-pkg/contrib/strutl.cc | |
parent | f30eb61fde728f125bf7c673cadc17f43d82a2d0 (diff) | |
parent | 8c75bf9e9558d062a5f3d1fe5276aeffba6403a0 (diff) |
merged from lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg/contrib/strutl.cc')
-rw-r--r-- | apt-pkg/contrib/strutl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc index a991b8988..1683868c8 100644 --- a/apt-pkg/contrib/strutl.cc +++ b/apt-pkg/contrib/strutl.cc @@ -304,13 +304,13 @@ string SizeToStr(double Size) { if (ASize < 100 && I != 0) { - sprintf(S,"%.1f%c",ASize,Ext[I]); + sprintf(S,"%'.1f%c",ASize,Ext[I]); break; } if (ASize < 10000) { - sprintf(S,"%.0f%c",ASize,Ext[I]); + sprintf(S,"%'.0f%c",ASize,Ext[I]); break; } ASize /= 1000.0; |