Consistently mark percentage scales as such.

PR:		bin/101975
MFC after:	3 days
This commit is contained in:
Yaroslav Tykhiy 2006-11-27 20:19:05 +00:00
parent 1dfd31abfb
commit 65b02a0f4b
3 changed files with 4 additions and 4 deletions

View File

@ -182,7 +182,7 @@ labeliostat()
row = 0;
wmove(wnd, row, 0); wclrtobot(wnd);
mvwaddstr(wnd, row++, INSET,
"/0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
"/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
mvwaddstr(wnd, row++, 0, "cpu user|");
mvwaddstr(wnd, row++, 0, " nice|");
mvwaddstr(wnd, row++, 0, " system|");
@ -244,7 +244,7 @@ barlabels(row)
char tmpstr[10];
mvwaddstr(wnd, row++, INSET,
"/0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
"/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
linesperregion = 2 + kbpt;
for (i = 0; i < num_devices; i++)
if (dev_select[i].selected) {

View File

@ -236,7 +236,7 @@ labelpigs()
wmove(wnd, 0, 0);
wclrtoeol(wnd);
mvwaddstr(wnd, 0, 20,
"/0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
"/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
}
int

View File

@ -128,7 +128,7 @@ labelswap()
header = getbsize(&hlen, &blocksize);
mvwprintw(wnd, row++, 0, "%-5s%*s%9s %55s",
"Disk", hlen, header, "Used",
"/0% /10% /20% /30% /40% /50% /60% /70% /80% /90% /100");
"/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
for (i = 0; i < kvnsw; ++i) {
mvwprintw(wnd, i + 1, 0, "%-5s", kvmsw[i].ksw_devname);