libshared: Change string_for_rate to use KiB/s instead of Kbps.

string_for_size uses KiB, etc., and so when the two are combined (e.g.
pkgman's progress display), it looked especially strange to have two
different units.
This commit is contained in:
Augustin Cavalier
2018-09-02 00:10:30 -04:00
parent f45e4bd1b6
commit e54f86aa6a
2 changed files with 28 additions and 24 deletions
+1 -2
View File
@@ -11,8 +11,7 @@
namespace BPrivate {
const char* string_for_rate(double rate, char* string, size_t stringSize,
double base = 1000.0f);
const char* string_for_rate(double rate, char* string, size_t stringSize);
} // namespace BPrivate