Use 'k' as suffix for Kilo
Pointed out by: several.
This commit is contained in:
parent
13b5f02d60
commit
84b4ac514e
@ -679,7 +679,7 @@ putint(n, l, lc, w)
|
||||
}
|
||||
snprintf(b, sizeof(b), "%*d", w, n);
|
||||
if ((int)strlen(b) > w)
|
||||
snprintf(b, sizeof(b), "%*dK", w - 1, n / 1000);
|
||||
snprintf(b, sizeof(b), "%*dk", w - 1, n / 1000);
|
||||
if ((int)strlen(b) > w)
|
||||
snprintf(b, sizeof(b), "%*dM", w - 1, n / 1000000);
|
||||
addstr(b);
|
||||
|
Loading…
Reference in New Issue
Block a user