enmetric: use µ for micro

pull/542/head
nick black 4 years ago
parent 595dd20950
commit 84a635dd48
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -19,7 +19,7 @@ const char *ncmetric(uintmax_t val, unsigned decimal, char *buf, int omitdec,
unsigned mult, int uprefix){
const char prefixes[] = "KMGTPEZY"; // 10^21-1 encompasses 2^64-1
// FIXME can't use multibyte μ unless we enlarge the target buffer
const char subprefixes[] = "munpfazy"; // 10^24-1
const char subprefixes[] = "mµnpfazy"; // 10^24-1
unsigned consumed = 0;
uintmax_t dv;

Loading…
Cancel
Save