mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Merge pull request #901 from 1sixth/patch-1
Replace lowercase "k" with uppercase "K" to make it look more consistent
This commit is contained in:
commit
9fa2cc45d2
@ -42,7 +42,7 @@ namespace fmt {
|
|||||||
|
|
||||||
template<class FormatContext>
|
template<class FormatContext>
|
||||||
auto format(const pow_format& s, FormatContext &ctx) -> decltype (ctx.out()) {
|
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 base = s.binary_ ? 1024ull : 1000ll;
|
||||||
auto fraction = (double) s.val_;
|
auto fraction = (double) s.val_;
|
||||||
|
Loading…
Reference in New Issue
Block a user