Merge pull request #953 from Alexays/revert-901-patch-1

Revert "Replace lowercase "k" with uppercase "K" to make it look more consistent"
This commit is contained in:
Alex 2020-12-25 09:28:22 +01:00 committed by GitHub
commit 94f8f74f51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ namespace fmt {
template<class FormatContext>
auto format(const pow_format& s, FormatContext &ctx) -> decltype (ctx.out()) {
const char* units[] = { "", "K", "M", "G", "T", "P", nullptr};
const char* units[] = { "", "k", "M", "G", "T", "P", nullptr};
auto base = s.binary_ ? 1024ull : 1000ll;
auto fraction = (double) s.val_;