diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-09-28 17:27:44 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-09-28 17:27:44 +0200 |
commit | 4d8d8112bb2bdee0f0e3cb46a6677e9fa35d791a (patch) | |
tree | 91b425b8e7b49056bfa645f40259dc9d4c9a7af0 /apt-pkg/contrib | |
parent | dd21adb85a810125230cbc29d8bc413fe337f96c (diff) | |
download | apt-4d8d8112bb2bdee0f0e3cb46a6677e9fa35d791a.tar.gz |
* apt-pkg/contrib/strutl.cc:
- add a space between number and unit as required by SI (Closes: #598352)
Diffstat (limited to 'apt-pkg/contrib')
-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 c1844de40..987f4c3a4 100644 --- a/apt-pkg/contrib/strutl.cc +++ b/apt-pkg/contrib/strutl.cc @@ -340,13 +340,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; |