Fix whitespace.

This commit is contained in:
Guus Sliepen 2012-12-05 21:42:43 +01:00
parent 4f8abf1b29
commit 4c16094e94

View file

@ -264,53 +264,53 @@ void top(int fd) {
break; break;
} }
case 'c': case 'c':
cumulative = !cumulative; cumulative = !cumulative;
break; break;
case 'n': case 'n':
sortmode = 0; sortmode = 0;
break; break;
case 'i': case 'i':
sortmode = 2; sortmode = 2;
break; break;
case 'I': case 'I':
sortmode = 1; sortmode = 1;
break; break;
case 'o': case 'o':
sortmode = 4; sortmode = 4;
break; break;
case 'O': case 'O':
sortmode = 3; sortmode = 3;
break; break;
case 't': case 't':
sortmode = 6; sortmode = 6;
break; break;
case 'T': case 'T':
sortmode = 5; sortmode = 5;
break; break;
case 'b': case 'b':
bunit = "bytes"; bunit = "bytes";
bscale = 1; bscale = 1;
punit = "pkts"; punit = "pkts";
pscale = 1; pscale = 1;
break; break;
case 'k': case 'k':
bunit = "kbyte"; bunit = "kbyte";
bscale = 1e-3; bscale = 1e-3;
punit = "pkts"; punit = "pkts";
pscale = 1; pscale = 1;
break; break;
case 'M': case 'M':
bunit = "Mbyte"; bunit = "Mbyte";
bscale = 1e-6; bscale = 1e-6;
punit = "kpkt"; punit = "kpkt";
pscale = 1e-3; pscale = 1e-3;
break; break;
case 'G': case 'G':
bunit = "Gbyte"; bunit = "Gbyte";
bscale = 1e-9; bscale = 1e-9;
punit = "Mpkt"; punit = "Mpkt";
pscale = 1e-6; pscale = 1e-6;
break; break;
case 'q': case 'q':
case KEY_BREAK: case KEY_BREAK:
running = false; running = false;