mirror of
https://github.com/nothings/stb
synced 2024-12-16 04:42:42 +03:00
The Si prefixes for mega, giga and tera are upper case (lower case m is not mega but milli)
This commit is contained in:
parent
ca3b8d7426
commit
a27e577c3e
@ -555,7 +555,7 @@ STBSP__PUBLICDEF int STB_SPRINTF_DECORATE( vsprintfcb )( STBSP_SPRINTFCB * callb
|
|||||||
pr = 0;
|
pr = 0;
|
||||||
|
|
||||||
// handle k,m,g,t
|
// handle k,m,g,t
|
||||||
if (fl&STBSP__METRIC_SUFFIX) { tail[0]=1; tail[1]=' '; { if (fl>>24) { tail[2]="_kmgt"[fl>>24]; tail[0]=2; } } };
|
if (fl&STBSP__METRIC_SUFFIX) { tail[0]=1; tail[1]=' '; { if (fl>>24) { tail[2]="_kMGT"[fl>>24]; tail[0]=2; } } };
|
||||||
|
|
||||||
flt_lead:
|
flt_lead:
|
||||||
// get the length that we copied
|
// get the length that we copied
|
||||||
|
Loading…
Reference in New Issue
Block a user