Use 'k' as suffix for Kilo

Pointed out by:	several.
This commit is contained in:
Poul-Henning Kamp 2003-10-24 21:23:47 +00:00
parent 13b5f02d60
commit 84b4ac514e

View File

@ -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);