Skip to content

Commit

Permalink
Merge pull request Alexays#901 from 1sixth/patch-1
Browse files Browse the repository at this point in the history
Replace lowercase "k" with uppercase "K" to make it look more consistent
  • Loading branch information
Alexays authored Oct 28, 2020
2 parents 48a8dbe + 7a0c0ca commit 9fa2cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/util/format.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit 9fa2cc4

Please sign in to comment.